aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate multiple many to many mapping classes problem
 
Similar Threads
Handling in memory objects with autogenrated key
Auto increment key in Hibernate
Cannot insert null into a non nullable column
Hibernate Association table - extra column
EJB-QL & AccessType Enum