-->
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.  [ 2 posts ] 
Author Message
 Post subject: deleting object
PostPosted: Tue Mar 09, 2004 8:33 am 
Newbie

Joined: Tue Mar 09, 2004 8:25 am
Posts: 1
Hi, I've a problem with Hibernate cascading...
I've a class A that have a set of classes B, class B have a set of classes C.
All the collections are mapped as cascade="all".
When i try to delete class A I get this Exception:

MonitorFilter::javax.servlet.ServletException: deleted object would be re-saved by cascade (remove deleted object from associations): 62, of class: com.firlab.h24.strutture.impl.standard.RepartoImpl
at com.firlab.h24.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at com.firlab.h24.AuthenticationFilter.doFilter(AuthenticationFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)

Can somebody help me? I guess it'clear I'm not a guru....


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2004 3:16 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Do you have the same object several times in your graph

_________________
Emmanuel


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

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.