Re: Setup hsqldb tables in memory?

From: Christian Mittendorf (christian.mittendor..reenet.de)
Date: Thu Nov 02 2006 - 18:01:33 EST

  • Next message: Christian Mittendorf: "Re: Setup hsqldb tables in memory?"

    Thanks to all of your for hints!

    Good night!
    Christian

    Am 02.11.2006 um 19:35 schrieb Andrus Adamchik:

    > Here is the latest code example used in our integration tests.
    > Works with any DB, including HSQLDB in-memory URL mentioned earlier:
    >
    > http://tinyurl.com/y6ekbs
    >
    > Andrus
    >
    >
    > On Nov 2, 2006, at 12:50 PM, Mike Kienenberger wrote:
    >
    >> You can take a look at the cayenne unit tests.
    >> These work (or at least used to work) using an in-memory hsqldb.
    >>
    >> Off the top of my head, I think it's only a matter of specifying
    >> "jdbc:hsqldb:mem:." as your jdbc.url in the
    >> .cayenne/connection.properties file in your home directory.
    >>
    >>
    >> On 11/2/06, Christian Mittendorf <christian.mittendor..reenet.de>
    >> wrote:
    >>> Hi!
    >>>
    >>> Can anybody give me hint on how to setup db tables using my
    >>> cayenne.xml from my class for running an in memory hsqldb? I'd like
    >>> to create some junit tests that use an in memory table instead of
    >>> the
    >>> real db connection.
    >>>
    >>> Christian
    >>>
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Thu Nov 02 2006 - 18:02:16 EST