public final class Nullability
extends java.lang.Object
| Constructor and Description |
|---|
Nullability(SharedSessionContractImplementor session)
Constructs a Nullability
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkNullability(java.lang.Object[] values,
EntityPersister persister,
boolean isUpdate)
Check nullability of the class persister properties
|
public Nullability(SharedSessionContractImplementor session)
session - The sessionpublic void checkNullability(java.lang.Object[] values,
EntityPersister persister,
boolean isUpdate)
throws HibernateException
values - entity propertiespersister - class persisterisUpdate - whether it is intended to be updated or savedPropertyValueException - Break the nullability of one propertyHibernateException - error while getting Component valuesCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.