Re: Using Cayenne withTomcat gives ClassCastException

2006-11-02 Thread John
Hello Cris, No you misunderstood me. I develop with Eclipse and I have or (HAD) a Cayenne.jar under my ThierdpartyJars. And another Cayenne.jar for ./tomcat/shared/lib/ and when i start the application using Tomcat and Tomcat uses the shared jars. however, NOW: i use the same Jars under

Re: Shared cache

2006-11-02 Thread Marko
Andrus Adamchik andrus at objectstyle.org writes: Hi Marko, As the goal of the default synchronization mechanism is *synchronization*, new objects do not generate events as there are no stale cache entries in peer VMs that need to be refreshed. So your observations are consistent

Re: Using Cayenne withTomcat gives ClassCastException

2006-11-02 Thread Cris Daniluk
On 11/2/06, John [EMAIL PROTECTED] wrote: Hello Cris, No you misunderstood me. I develop with Eclipse and I have or (HAD) a Cayenne.jar under my ThierdpartyJars. And another Cayenne.jar for ./tomcat/shared/lib/ and when i start the application using Tomcat and Tomcat uses the shared jars.

Re: Cayenne bug 308

2006-11-02 Thread Mike Kienenberger
It's best to ask these questions on the Cayenne users mailing list, so redirecting there. For Cayenne, this would mean that it was fixed in Cayenne 1.2 or in a released Cayenne 1.2 patch (1.2.1, 1.2.2, etc). I don't think we use anything more fine-grained than that. This particular bug was

Setup hsqldb tables in memory?

2006-11-02 Thread Christian Mittendorf
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

Re: Setup hsqldb tables in memory?

2006-11-02 Thread Michael Gentry
I think it is something like: jdbc:hsqldb:mem:dbname Then you just create tables/etc normally, but it is all in memory. /dev/mrg On 11/2/06, Christian Mittendorf [EMAIL PROTECTED] wrote: Hi! Can anybody give me hint on how to setup db tables using my cayenne.xml from my class for running an

Re: Setup hsqldb tables in memory?

2006-11-02 Thread 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

Re: Setup hsqldb tables in memory?

2006-11-02 Thread Christian Mittendorf
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