Originally, you wrote 
> When I try to persist objects with bidirectional OneToMany relationship, 

I interpreted 'persist' as creating new Parent, new Children ... and in such
case, I do not know of any technique  that will automatically set the
inverse side of a bi-directional link. But I may not have understood your
question properly. 

Update on a bi-directional relation will depend on which is the 'owning'
side and from which side of the relation is updating ... it might help to
analyze further if you bring what you expect to happen and what appears to
you as doubtful behavior in terms of a small test case...

-----
Pinaki 
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/Bidirectional-OneToMany-with-Enchancer-tp5091015p5105429.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to