Hi,
First, you are not forced to use the JoinTable annotation. It works fine 
without (configure by exception - one goal of the ejb3 spec).

I think the problem is what u specified with the mappedBy parameter of the 
manytomany. I think it should be 'students'.
It should be the name of the property. 

Regards, Milan Wölke

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965515#3965515

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965515

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to