| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final SessionImplementor |
| 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, final CompositeType component not-nullable type compType)check component nullability. |
| public void | checkNullability(final Object[]
entity properties values, final EntityPersister class persister persister, final boolean wether it is intended to be updated or saved isUpdate)Check nullability of the class persister properties |
| private String | Returns: property pathtype to check propertyType, final Object value to check value)check sub elements-nullability. |
| checkNullability | back to summary |
|---|---|
| private final boolean checkNullability | |
| session | back to summary |
|---|---|
| private final SessionImplementor session | |
| Nullability | back to summary |
|---|---|
| public Nullability(SessionImplementor session) | |
| 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(final Object value, final CompositeType compType) 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) throws PropertyValueException, HibernateException Check nullability of the class persister properties
| |
| checkSubElementsNullability | back to summary |
|---|---|
| private String checkSubElementsNullability(final Type propertyType, final Object value) throws HibernateException check sub elements-nullability. Returns property path that break nullability or null if none
| |