Re: OneToMany update issue

2009-04-12 Thread Stefan Zeller
Hi Paul, thanks for the fast help. Now the application is responsible for consistency and it works. Well, I should read the spec, some time. Greetings, Stefan Paul Copeland schrieb: Hi Stefan - I think your A.SetB(B) method must call B.add(A) From section 2.1.7 in JPA Specification - Note

cascading deletes and entity relationship constraints

2009-04-12 Thread Adam Hardy
Just wanted to check that this old issue still describes the situation properly: http://issues.apache.org/jira/browse/OPENJPA-39 Cascade delete does not work with foreign key constraints - marked as 'resolved - wont fix'. Just wondering if maybe in the in-between time something has been