public final class

Nullability

extends Object
java.lang.Object
   ↳ org.hibernate.engine.Nullability

Class Overview

Implements the algorithm for validating property values for illegal null values

Summary

Public Constructors
Nullability(SessionImplementor session)
Public Methods
void checkNullability(Object[] values, EntityPersister persister, boolean isUpdate)
Check nullability of the class persister properties
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Nullability (SessionImplementor session)

Public Methods

public void checkNullability (Object[] values, EntityPersister persister, boolean isUpdate)

Check nullability of the class persister properties

Parameters
values entity properties
persister class persister
isUpdate wether it is intended to be updated or saved
Throws
PropertyValueException Break the nullability of one property
HibernateException error while getting Component values