openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
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: http://n2.nabble.com/support-for-identifying-relations-in-JPA-OpenJPA-tp660963p662494.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message