This content has been marked as final.
Show 3 replies
-
1. Re: Cascading removed objects from multi-valued relationship
epbernard Apr 6, 2005 10:55 AM (in response to dsouza)What you're requesting is the delete-orphan cascade style.
You'll be able to define it as an Hibernate specific annotation, but it is not part of the spec :-( -
2. Re: Cascading removed objects from multi-valued relationship
manica May 17, 2005 3:10 PM (in response to dsouza)I don't see the annotation documented anywhere, I'm assuming it does not yet exist. Any additional info on when this might be available?
I can't believe the EJB spec left it out... feels like a pretty big hole to me.
Thanks fellas -- you guys rock.
Darin -
3. Re: Cascading removed objects from multi-valued relationship
epbernard May 18, 2005 5:25 PM (in response to dsouza)Well it's not a hole that big. That's very convinient to have it though :-)
This is brand new and only accessed through Hibernate Annotations CVS right now
@org.hibernate.annotations.Cascade(cascade=org.hibernate.annotations.CascadeType.DELETE_ORPHAN)