At this point, I have hibernate working with a many-to-many relationship
Here is what I have
User Table <- one-to-many -> user_roles Table <- many-to-one -> roles
table
The retrieval of the records works fine. I can also modify and insert
the records with no hassle.
But my problems come when I need to insert a relationship ( a record
into the user_roles table ). The Hibernate generated code only has
classes for the other 2 tables, it manages the middle table on its own.
Could someone please point me into the right direction as to how that
should be done.