openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <awh...@bea.com>
Subject Re: Bug when persisting two related objects
Date Thu, 10 May 2007 15:56:21 GMT
Are the two types related by inheritance?  If two classes in an  
inheritance hierarchy use the same id class, then every instance of  
both classes must have a distinct id value.  If you want instances in  
inheritance-related classes to be able to have the same id values,  
then you must use different id classes for different classes in the  
inheritance hierarchy.

Notice:  This email message, together with any attachments, may contain information  of  BEA
Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,
 copyrighted  and/or legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient, and have received
this message in error, please immediately return this by email and then delete it.

Mime
View raw message