-->
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: collection with cascade="all-delete-orphan" was no
PostPosted: Tue Aug 26, 2008 1:21 pm 
Beginner
Beginner

Joined: Sun May 07, 2006 2:44 pm
Posts: 33
Hey,

working with jboss4.2and JPA.

i have a detached entity.
and i call to em.merge

when i add - cascade delete orphan annotation i get the following exception:
Quote:
collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance


I searched in google and in the forum (http://forum.hibernate.org/viewtopic.php?t=956859) and i saw that the reason for this exception is when you have "unstandard setters for collection", but all my collection setters are simple setters.

does any one has another idea?

Thank you


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.