On Wed, Jan 18, 2012 at 6:31 PM, Steve Ebersole <st...@hibernate.org> wrote: > Well really the trouble is that you are not managing the associations in > memory. I understand the behavior is surprising, but had you simply cleaned > up the Person reference from all its associations (as the JPA spec says you > have to anyway) you would not have gotten this surprise.
That's what we do in our applications. This is just a unit test to show all the cascade features to our developers, what they can do, when they fail and so on. The fact that a delete operation is silently ignored is disturbing IMHO. -- Guillaume _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev