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