This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 1396
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: 1396
Any reply?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: many-to-many mapping in the hibernate mapping file ?
 
It's not a secret anymore!