public final class Nullability extends Object
| Constructor and Description |
|---|
Nullability(SessionImplementor session)
Constructs a Nullability
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkNullability(Object[] values,
EntityPersister persister,
boolean isUpdate)
Check nullability of the class persister properties
|
public Nullability(SessionImplementor session)
session - The sessionpublic void checkNullability(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 © 2016 JBoss by Red Hat. All rights reserved.