From: Emmanuel B. (JIRA) <no...@at...> - 2006-07-07 19:39:57
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-389?page=comments#action_23574 ] Emmanuel Bernard commented on ANN-389: -------------------------------------- No, I mean that you can have 2 different associations one from A to B and one from B to A where the semantic of the association are completly different let's say User --owner--> Car Car --hasBeenDrivenBy'--> User So in this case I do have 2 different associations with a completly different semantic, none of them are bidirectional (but they could). Sorry, my previous comment wasn't really clear > @ManyToMany without mappedBy should be recognized as an error > ------------------------------------------------------------- > > Key: ANN-389 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-389 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.2.0.cr1 > Reporter: Christopher G. Stach II > > > Instead of letting the user know that something might get hosed, it creates two join tables, one for each direction. I don't know when this would be the preferred behavior. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |