This content has been marked as final.
Show 1 reply
-
1. Re: Can't get DELETE_ORPHAN to work with java.persistence.Ca
c_eric_ray Aug 3, 2006 1:01 PM (in response to c_eric_ray)the answer is...
@OneToMany(mappedBy="remittancePackage", cascade=CascadeType.ALL) @Cascade(org.hibernate.annotations.CascadeType.DELETE_ORPHAN)
where @Cascade os a hibernate Cascade object.
Would be nice if these hints were in the documention. It really helps those of use who are not experienced with hibernate.
Thanks
Eric Ray