cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Setup hsqldb tables in memory?
Date Thu, 02 Nov 2006 18:35:07 GMT
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.mittendorf@freenet.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
>>
>>
>


Mime
View raw message