public final class Nullability extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Nullability.NullabilityCheckType |
| Constructor and Description |
|---|
Nullability(SharedSessionContractImplementor 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
|
void |
checkNullability(Object[] values,
EntityPersister persister,
Nullability.NullabilityCheckType checkType) |
public Nullability(SharedSessionContractImplementor session)
session - The sessionpublic void checkNullability(Object[] values, EntityPersister persister, boolean isUpdate)
values - entity propertiespersister - class persisterisUpdate - whether it is intended to be updated or savedPropertyValueException - Break the nullability of one propertyHibernateException - error while getting Component valuespublic void checkNullability(Object[] values, EntityPersister persister, Nullability.NullabilityCheckType checkType)
Copyright © 2019 JBoss by Red Hat. All rights reserved.