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:22:29 GMT
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.  

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

View raw message