0 Replies Latest reply on Apr 22, 2007 4:07 PM by nasatjboss

    How to address relationship between three tables in Hibernat

    nasatjboss


      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.