[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to address relationship between three tables in Hibernat

nasatjboss do-not-reply at jboss.com
Sun Apr 22 16:07:59 EDT 2007


Here is the schema:

Table: Organization
Table: Member
Table: Role

Join Table: Organization_Member
Join Table: Organization_member_Role

A member can belong to N number of Organization and for each organization the member can have more then one Role


I need to know what what kind of relation ship do I need to use in Hibernate to provide the above mapping.

Thanks,
Nas.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039638#4039638

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039638



More information about the jboss-user mailing list