Either your pk is ChildPK.class or it is an id. It cannot be both and you can not have two @ids. Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039843#4039843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039843