Package org.hibernate.engine
Class Nullability
java.lang.Object
org.hibernate.engine.Nullability
Implements the algorithm for validating property values
for illegal null values
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckNullability(Object[] values, EntityPersister persister, boolean isUpdate) Check nullability of the class persister properties
-
Constructor Details
-
Nullability
-
-
Method Details
-
checkNullability
public void checkNullability(Object[] values, EntityPersister persister, boolean isUpdate) throws PropertyValueException, HibernateException Check nullability of the class persister properties- Parameters:
values- entity propertiespersister- class persisterisUpdate- wether it is intended to be updated or saved- Throws:
PropertyValueException- Break the nullability of one propertyHibernateException- error while getting Component values
-