[jboss-user] [EJB 3.0] - Re: ManyToMany problem
dcbyers71
do-not-reply at jboss.com
Fri Sep 8 12:37:04 EDT 2006
Check your entity objects to determine where the @Id annotation is located. The examples that I have seen thus far have failed to highlight one sneaky piece of syntax for entities participating in relationships...the @Id element must modify the getXxx method for the ID field instead of modifying the entity field itself.
If this is the issue, try relocating that @Id element and see if things get better.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970406#3970406
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970406
More information about the jboss-user
mailing list