| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final SharedSessionContractImplementor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | Returns: parent-child pathparent in path parent, String child in path child)Return a well formed property path. |
| private String | Returns: property pathcomponent properties value, CompositeType component not-nullable type compositeType)check component nullability. |
| public void | checkNullability(final Object[]
entity properties values, final EntityPersister class persister persister, final boolean whether it is intended to be updated or saved isUpdate)Check nullability of the class persister properties |
| public void | checkNullability(final Object[] values, final EntityPersister persister, final Nullability.
|
| private String | Returns: property pathtype to check propertyType, Object value to check value)check sub elements-nullability. |
| checkNullability | back to summary |
|---|---|
| private final boolean checkNullability | |
| session | back to summary |
|---|---|
| private final SharedSessionContractImplementor session | |
| Nullability | back to summary |
|---|---|
| public Nullability(SharedSessionContractImplementor session) Constructs a Nullability
| |
| buildPropertyPath | back to summary |
|---|---|
| private static String buildPropertyPath(String parent, String child) Return a well formed property path. Basically, it will return parent.child | |
| checkComponentNullability | back to summary |
|---|---|
| private String checkComponentNullability(Object value, CompositeType compositeType) throws HibernateException check component nullability. Returns property path that break nullability or null if none
| |
| checkNullability | back to summary |
|---|---|
| public void checkNullability(final Object[] values, final EntityPersister persister, final boolean isUpdate) Check nullability of the class persister properties
| |
| checkNullability | back to summary |
|---|---|
| public void checkNullability(final Object[] values, final EntityPersister persister, final Nullability. | |
| checkSubElementsNullability | back to summary |
|---|---|
| private String checkSubElementsNullability(Type propertyType, Object value) throws HibernateException check sub elements-nullability. Returns property path that break nullability or null if none
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Nullability. | |
| public static final Nullability. | |
| public static final Nullability. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Nullability. | |
| public static Nullability. |
| CREATE | back to summary |
|---|---|
| public static final Nullability. | |
| DELETE | back to summary |
|---|---|
| public static final Nullability. | |
| UPDATE | back to summary |
|---|---|
| public static final Nullability. | |
| NullabilityCheckType | back to summary |
|---|---|
| private NullabilityCheckType() | |
| valueOf | back to summary |
|---|---|
| public static Nullability. | |
| values | back to summary |
|---|---|
| public static Nullability. | |