add cascade type MERGE, and call em.merge(settlement). Remember that merge
returns a Settlement different than its input argument.

Looks like a non-owning, owning side issue. Settlement is the non-owning
side of the relation. Owning side is the one that has the Foreign Key for
the relation in the database.  

-----
Pinaki 
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Update-statements-not-generated-for-a-OneToMany-mapping-with-persistent-entity-tp6476296p6476786.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to