This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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...
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Hibernate multiple many to many mapping classes problem
 
Similar Threads
Auto increment key in Hibernate
Handling in memory objects with autogenrated key
Cannot insert null into a non nullable column
Hibernate Association table - extra column
EJB-QL & AccessType Enum