-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Don't change the reference to colection - what does it mean?
PostPosted: Sat Aug 18, 2007 7:05 pm 
Newbie

Joined: Sat Jul 28, 2007 7:24 am
Posts: 8
I have an object in the database, and I read it. Then the session get's closed, so the object is detached. I do some updates and want to change the row in the database so I open a new session and call session.save(myObject), and I get the following error message:
Don't change the reference to a collection with cascade="all-delete-orphan"
What does it mean? Where do I change the collection reference? When I call session.update this error doesn't occur, but I would like to know what really happens and causes this ezception.
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.