Re: Running cayenne tests

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Feb 11 2005 - 16:35:47 EST

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-273) Get CVS change notification emails working again"

    > Is there a default setup so that Cayenne unit tests run against HSQLDB?
    >
    > In the past, I've always tested against OpenBase, but I'd expect hsqldb
    > to be ideal for unit testing.
    > However, I'm not sure I want to try to figure out how to configure it,
    > having never used it directly before.
    >
    > -Mike

    Out of all databases that we support, HSQLDB is probably the easiest one
    to get running and maintain. Download it, unpack, and run the startup
    script. From there just update your ~/.cayenne/connection.properties with
    this data:

    http://objectstyle.org/cayenne/api/cayenne/org/objectstyle/cayenne/dba/hsqldb/HSQLDBAdapter.html

    Use "sa" for user name and leave password blank...

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Feb 11 2005 - 16:35:49 EST