Dmitry Geraskov [
http://community.jboss.org/people/dgeraskov] created the discussion
"Re: Hibernate Tools - How to handle updates to one-to-many property"
To view the discussion, visit:
http://community.jboss.org/message/574004#574004
--------------------------------------------------------------
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
http://samsonov.bn.by/lib/hibernate/manipulatingdata.html
Paragrapf 9.8. Lifecyles and object graphs
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/574004#574004]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]