JBoss Community

Re: Hibernate Tools - How to handle updates to one-to-many property

created by Dmitry Geraskov in JBoss Tools - View the full discussion

Seems you didn't map your dependent object(PersonAddress) with cascade="all" or cascade="save-update".

Look here for more details http://samsonov.bn.by/lib/hibernate/manipulatingdata.html

Paragrapf 9.8.  Lifecyles and object graphs

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community