Hi,
My patch is for relationships annotated with foreign key on delete cascade.
Can you provide a test case that fails for insert or update due to foreign key
violation?
-fay
--- On Fri, 7/4/08, Beniamin Mazan <[EMAIL PROTECTED]> wrote:
> From: Beniamin Mazan <[EMAIL PROTECTED]>
> Subject: Re: Bug in OpenJPA with cascade delete
> To: [email protected]
> Date: Friday, July 4, 2008, 3:04 AM
> Sebastian Gauder wrote:
> >
> > Does this patch fix the whole SQL reordering problem,
> or does it just
> > work for relationships annotated with Cascade?
> > I still have problems à la "insert or update on
> table "customer"
> > violates foreign key constraint
> "fk_address"...
> >
> > Roger Keays schrieb:
> >> Roger Keays wrote:
> >>>
> >>> Sounds like issue 235, which I'm also
> stuck on:
> >>>
> >>>
> https://issues.apache.org/jira/browse/OPENJPA-235
> >>
> >> Fay's patch posted to that issue fixed the
> problem for me. I've posted
> >> a binary at
> >>
> >> http://www.sunburnt.com.au/tmp/openjpa-1.1.0.jar
> >>
> >> You could try that version.
> >>
> >>>
> >>>
> >>
> >
>
> I've just put 1.1.0 patch to my Geronimo 2.1 and it
> hasn't resolve my
> problem. The exception is still the same.
>
> -----
> --
> thanks
> Beniamin
> --
> View this message in context:
> http://n2.nabble.com/Bug-in-OpenJPA-with-cascade-delete-tp219611p221034.html
> Sent from the OpenJPA Users mailing list archive at
> Nabble.com.