Hi Martin_L
You can always do this using Associations. Using associations if you insert the primary object it will automatically insert the secondary object.
and same for the dellete. As you required.
Look out the documentation of Hibernate team, In that check for Association you have three kinds of Association
1)one -to-one
2)one-to-many
3)many-to-many
Probably i think the Hibernate team will not answer for this basic question. Like we have read it by our self download the document from the below link
http://www.hibernate.org/hib_docs/v3/re ... ml_single/
You can see information for your problem or
you can also but book called Hibernate in Action,
but for ur requirement i think the document is more than enough
Regards
RamnathN