org.hibernate.engine
Class Nullability
java.lang.Object
org.hibernate.engine.Nullability
public final class Nullability
extends java.lang.Object
Implements the algorithm for validating property values
for illegal null values
checkNullability
public void checkNullability(Object[] values,
EntityPersister persister,
boolean isUpdate)
throws PropertyValueException,
HibernateException
Check nullability of the class persister properties
values
- entity propertiespersister
- class persisterisUpdate
- wether it is intended to be updated or saved