[jboss-user] [EJB 3.0] - @EmbeddedId vs. @IdClass - when shall I use what?
oskar.carlstedt
do-not-reply at jboss.com
Fri May 4 11:14:17 EDT 2007
Hi all!
Can anyone explain the difference between the two annotations @IdClass/@Id and @Embeddable/@EmbeddableId. When shall I use @IdClass and when shall I use @EmbeddedId?
Does anyone of you have a good answer to this? I would really appreciate your help to make me understand what decision to take in different situations.
Best Regards
/Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043246#4043246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043246
More information about the jboss-user
mailing list