[hibernate-dev] checkNullability when deleting an entity

Steve Ebersole steve at hibernate.org
Thu Oct 3 09:28:59 EDT 2013


With HV or BV enabled, generally speaking Nullability#checkNullability 
no-ops anyway..

On 10/02/2013 08:36 AM, Emmanuel Bernard wrote:
> 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