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....
|