I'm sure there is a very good reason for this, I was hoping someone can fill me in.
Why doesn't the specification allow me to specify "mappedBy" in the @ManyToOne relationship annotation? Suppose I have Individual and Family entities - a ManyToOne. Family has the OneToMany annotation and Individual has the ManyToOne annotation. If I want the bi-directional relationship to be owned by Family - I can't - the mappedBy isn't allowed in the ManyToOne annotation that I put in Individual. I'm sure I just don't understand this 100%... looking for an idiot lesson :-) I guess a definition of "owns a relationship" is probably in order... what does it mean when something "owns a relationship"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929379#3929379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929379 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
