openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: support for identifying relations in JPA/OpenJPA
Date Thu, 31 Jul 2008 15:01:22 GMT

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:
Sent from the OpenJPA Users mailing list archive at

View raw message