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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to