[jboss-user] [JBoss Tools] - Re: Hibernate Tools - How to handle updates to one-to-many property
Dmitry Geraskov
do-not-reply at jboss.com
Thu Dec 2 03:22:45 EST 2010
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&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101202/de509e4f/attachment.html
More information about the jboss-user
mailing list