Hmmm... Much more strange: if I keep my compound primary key but remove the line

@GeneratedValue(strategy = GenerationType.AUTO)

and calculate both parts of the key myself, then everything is o.k.

I do not understand what is going wrong there... Is there a Problem using 
@GeneratedValue together with a compound primary key?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070106#4070106

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070106
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to