openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: Update statements not generated for a @OneToMany mapping (with persistent entity)
Date Wed, 15 Jun 2011 00:27:39 GMT
Also you should call voucher.setSettlement(s). JPA, by default, will not
manage bi-directional referential integrity. The application has to do it.
OpenJPA has a inverse manager -- you can activate that and most likely with
the current code you will see an exception. 

But asking OpenJPA to check referential integrity of bi-directional relation
is costly.  

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message