Daryl,

I suppose you need to tell OpenJPA to take foreign keys into account. See this 
topic:

http://n2.nabble.com/Inconsistent-behaviour-with-Bi-directional-One-to-Many-Mapping.-tp2570464p2570464.html

Regards,
Milosz


> On Tue, Jun 9, 2009 at 8:32 AM, Daryl Stultz  wrote:
> 
> >
> >
> > The foreign key from B to A is set to cascade delete and is not deferred.
> > Do I need to change either of these?
> >
> > It seems to be that the foreign key must not cascade and must be deferable.
> It is working now.
> 
> -- 
> Daryl Stultz
> _____________________________________
> 6 Degrees Software and Consulting, Inc.
> http://www.6degrees.com
> mailto:[email protected]
> 

Reply via email to