0 Replies Latest reply on Oct 26, 2006 6:37 AM by djamel boussebha

    Multiple Joins

    djamel boussebha Newbie

      Hi;

      I must to manage several list of objets for example :
      in the database I have 3 tables :
      T1 => 1..* T2 => 1..* T3 (tables)

      T1 contains Person Javabean, T2 contains a Account List and T3 contains a adress List.
      A person has many accounts and one account has many adresses.
      How write the DAO :
      insert, update, delete and the get (getPersonList, getListAcconut, etc...) with Hibernate or JDBC.
      An example of a implementation (source code) will be welcome.

      regards;