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: help on relationship

2007-01-22 Thread Malcolm Edgar
Hi All, I think Jun has sorted out this issue. I believe he was doing something strange in a service/dao class which resulted in inserts new objects with the same PK as an existing object. regards Malcolm Edgar On 1/23/07, Michael Gentry <[EMAIL PROTECTED]> wrote: I'm not at all familiar with

Re: Creating new object in validateForInsert or validateForSave (are you certain?) (Oups...)

2007-01-22 Thread Alexander Lamb (dev)
Ok, I was with version 2.0.1-incubating (with Maven). Is 2.0.2 already available through Maven? On Jan 22, 2007, at 12:01 PM, Andrus Adamchik wrote: Actually you may want to upgrade to 2.0.2 - you may be affected by this bug that was fixed in the last release: https://issues.apache.org/cay

Re: help on relationship

2007-01-22 Thread Michael Gentry
I'm not at all familiar with Click or the CayenneForm class it provides. A quick Google search lead me to this: * Fixed CayenneForm duplicate insert bug. This issue was identified by Bob Schellink [63]. (Version 0.19 - 8th April 2006) Are you using at least version 0.19 of Click? I did look a

Re: Creating new object in validateForInsert or validateForSave (are you certain?) (Oups...)

2007-01-22 Thread Andrus Adamchik
Actually you may want to upgrade to 2.0.2 - you may be affected by this bug that was fixed in the last release: https://issues.apache.org/cayenne/browse/CAY-712 Andrus On Jan 21, 2007, at 11:10 PM, Alexander Lamb (dev) wrote: Well, it might be me... having trouble with a class hierarchy. So

AW: help on relationship

2007-01-22 Thread Peter Schröder
did you call context.createAndRegister() on the new objects? -Ursprüngliche Nachricht- Von: Jun Bondoy [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 21. Januar 2007 07:18 An: user@cayenne.apache.org Betreff: Re: help on relationship Hi Michael, Thanks for the quick response..based on you