[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Multiple Joins
do-not-reply at jboss.com
Thu Oct 26 06:37:45 EDT 2006
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980965#3980965
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980965
More information about the jboss-user