IMHO @EmbeddedId should be used when the combined pk is either a meaningful entity itself
or it reused in your code.
@IdClass is useful to specify that some combination of fields is unique but these do not
have a special meaning.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043393#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...