openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: OpenJPA - two-sided relation between objects Issue
Date Wed, 13 Aug 2008 23:27:50 GMT

@ForeignKey(implicit=true) is currently not supported by OpenJPA.
I have a prototype (uncommitted) that supports it.

What I was asking you about is the following (keeping your mapping as your
original posting):

1. Remove all phones from Address, but remember them
2. flush() the Address.
3. Database will now assign identity to Address
4. Add the phones back and set each phone's identifier to the newly assigned
identifier of the Address
5. commit


-- 
View this message in context: http://n2.nabble.com/OpenJPA---two-sided-relation-between-objects-Issue-tp687050p723049.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message