wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Hibernate multiple many to many mapping classes  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate multiple many to many mapping classes  problem" Watch "Hibernate multiple many to many mapping classes  problem" New topic
Author

Hibernate multiple many to many mapping classes problem

santoshkumar reddy
Greenhorn

Joined: Nov 16, 2009
Posts: 1
Hi all i am new ti hibernate technology and facing some problems I have two tables USERS and GROUPS which are many to many mapped here i am able to insert data normally into them but ihave another table called ROLES which is many to many mapped with GROUPS so when i am trying to insert data into ROLES table and map it with the already existing rows of Groups . I am facing problem for writing code to this scenario can some one please help me to write this code... i will be very thankful to them ..

thanxs in advance...
 
 
subject: Hibernate multiple many to many mapping classes problem