[hibernate-dev] checkNullability when deleting an entity

Emmanuel Bernard emmanuel at hibernate.org
Wed Oct 2 09:36:43 EDT 2013


On Mon 2013-09-23 17:07, Steve Ebersole wrote:
> Anyone have compelling reasons to continue to call 
> org.hibernate.engine.internal.Nullability#checkNullability when deleting 
> an entity?

An entity being deleted can be validated by Bean Validation. But from
what I understand you would not call checkNullability and thus leave
room for BV to be called. Correct?

> To a lesser degree, how about reasons for calling 
> org.hibernate.engine.internal.ForeignKeys.Nullifier#nullifyTransientReferences 
> when deleting?
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list