openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <awh...@bea.com>
Subject Re: composite ID based on "one" side of a bidirectional one-many relationship
Date Wed, 28 Mar 2007 21:44:06 GMT
> "the book field in the PageId class must be of type String to match  
> the primary key field type of Book"
>
> was i mistaken when i understood you to say that Page could have a  
> PK field of type Book?

No, you weren't mistaken.  But as I said, the book field in the  
Page*Id* class must match the pk type of the relation.  Check the  
example in the docs.

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