Try the following in order
1. equals() method in Id class is currently doing a reference comparison on
its fields. Change it to value comparison.
2. Do not annotate child to parent many-to-one relation with @ForeignKey.
3. Ask OpenJPA to execute SQL in the order of object operation rather than
reordering them.
   <property name="openjpa.jdbc.UpdateManager" value="operation-order"/>



-- 
View this message in context: 
http://n2.nabble.com/support-for-identifying-relations-in-JPA-OpenJPA-tp660963p662494.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to