Re: Self joins

2007-01-23 Thread Mike Kienenberger
Probably when someone takes time to convert it to 2.0 and then 3.0. Officially, we don't want to add it to the 1.2 or 2.0 branch. I've been using the patches in a production application for several months now, and I've not encountered any issues. One thing you could do to speed up the process is

Re: Self joins

2007-01-22 Thread Patric Lichtsteiner
Hi Mike Thanks a lot for testing this! Great news that your patch solves the problem. Any ideas when your patch will make it to an official release? Patric On 19.01.2007, at 17:58, Mike Kienenberger wrote: I guess I should have mentioned that java 1.4.2 was preferred :-) I converted the p

Re: Self joins

2007-01-19 Thread Mike Kienenberger
I guess I should have mentioned that java 1.4.2 was preferred :-) I converted the project to Java 1.4.2 (commented out the annotations, typecast the List members). I then loaded your schema into my hsqldb test database and updated the jdbc url. I removed the script line trying to set indexes t

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

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