cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Mittendorf <christian.mittend...@freenet.de>
Subject Re: Setup hsqldb tables in memory?
Date Thu, 02 Nov 2006 23:01:33 GMT
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.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