Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 2.0
Mapping documents: Nothing
MySql 4.0.20a-nt
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
I have two tables called User and Group. I also have a table called user_group which has user_id/group_id and alias fields and holds the relationships between a group and users. When I add user to a group a entry in user_group table is also added. This is achieved by defining a bag on group. This is done without any additional code. If I want to also update another field (called alias) in the table user_group, then is there any automatic way to define the relationship or do I have to manually update it.
Thank you.