[jboss-user] [EJB 3.0] - ManyToOne and Composite Keys
jimk1723
do-not-reply at jboss.com
Mon Apr 16 14:06:56 EDT 2007
How do you annotate a ManyToOne relationship where the "Many" entitiy has a foreign key field that is also the member of a composite key?
I am starting from Seam `generate-entities`, but the generated code fails when I create new instances of each entity in the same transaction - I'm getting foreign key violations on commit. It's clear the EmbeddedId class is not getting the id value.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037666#4037666
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037666
More information about the jboss-user
mailing list