File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes many-to-many mapping in the hibernate mapping file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "many-to-many mapping in the hibernate mapping file ?" Watch "many-to-many mapping in the hibernate mapping file ?" New topic
Author

many-to-many mapping in the hibernate mapping file ?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
Customer and Account table has many-to-many relationships. Hence i created link table for creating two one-to-many relationships. link table has both tables primary key. How can i represent many-to-many relationship in the hibernate mapping file for Customer and Account tables ?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
Any reply?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: many-to-many mapping in the hibernate mapping file ?