[jboss-user] [EJB 3.0] - Re: How to save entities with PrimaryKeyJoinColumn?
itsme
do-not-reply at jboss.com
Thu Jan 17 02:24:39 EST 2008
Hi,
how are the id fields of both classes defined?
Normally sequences generate keys as per call. So both entities are serialized to different tables and for this, they get different id values. Only the referencing field must have the same value.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120723#4120723
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120723
More information about the jboss-user
mailing list