Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
kri shan
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any reply?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic