[jboss-user] [EJB 3.0] - Re: hibernate couldn't find column
mhoennig
do-not-reply at jboss.com
Mon Jul 16 07:08:13 EDT 2007
Ok, I solved it myself.
The solution is to just do go ahead as usual. But repeat all the annotations but the @Id in the matching attributes of the pk class referred in @IdClass. Thus all these attributes are classes, none is an int (as the key parts are). The int is only used internally.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064491#4064491
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064491
More information about the jboss-user
mailing list