Re: [ANN] Cayenne 2.0.2. and 1.2.2 released

2007-01-18 Thread Malcolm Edgar
Great to see this release come out, and the Tomcat's session restore bug fixed. regards Malcolm Edgar On 1/18/07, Andrus Adamchik <[EMAIL PROTECTED]> wrote: I am glad to announce releases of two branches of Cayenne, 2.0.2 and 1.2.2. Check out the blog entry for details: http://cwiki.apache.org

Re: Self joins

2007-01-18 Thread Mike Kienenberger
Ok. I'll probably be using HSQLDB to test it. You can either send me the *.script file from an hsqldb database or a dbunit xml flatfile so I can load the test data. I suppose you can send me some raw inserts and that will probably work too. Or have your example code create the test data. On

Re: Self joins

2007-01-18 Thread Patric Lichtsteiner
Sounds interesting! I'll send you a 1.2 example tomorrow. Patric On 18.01.2007, at 21:52, Mike Kienenberger wrote: This is pure speculation, but maybe it has something to do with path splitting. In that case, using the outer join patches I posted will probably fix it. You'd have to convert

Re: Self joins

2007-01-18 Thread Mike Kienenberger
This is pure speculation, but maybe it has something to do with path splitting. In that case, using the outer join patches I posted will probably fix it. You'd have to convert the patch from the 1.2 packages to the 2.0 packages, though. Or if you created a simple 1.2 example demonstrating the

Re: Self joins

2007-01-18 Thread Andrus Adamchik
Hmm... looks like a bug in the prefetch code. Could you possible open a bug report, somebody will take a look. http://issues.apache.org/cayenne Thanks Andrus On Jan 18, 2007, at 11:14 AM, Patric Lichtsteiner wrote: Hi I'm using Cayenne 2.0.1 and I'm working with a model with a self join

[ANN] Cayenne 2.0.2. and 1.2.2 released

2007-01-18 Thread Andrus Adamchik
I am glad to announce releases of two branches of Cayenne, 2.0.2 and 1.2.2. Check out the blog entry for details: http://cwiki.apache.org/confluence/display/CAY/2007/01/18/ I am still working on publishing Maven artifacts that should become available in a few days. Andrus

Self joins

2007-01-18 Thread Patric Lichtsteiner
Hi I'm using Cayenne 2.0.1 and I'm working with a model with a self join like this: The database scheme and the classes are correctly generated with this definition. Inserting data with java code also works without problems, but