java.lang.Object | |
↳ | org.hibernate.type.TypeHelper |
Collection of convenience methods relating to operations across arrays of types...
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Apply the
assemble(Serializable, SessionImplementor, Object) operation across a series of values. | |||||||||||
Apply the
beforeAssemble(Serializable, SessionImplementor) operation across a series of values. | |||||||||||
Deep copy a series of values from one array to another...
| |||||||||||
Apply the
disassemble(Object, SessionImplementor, Object) operation across a series of values. | |||||||||||
Determine if any of the given field values are dirty, returning an array containing
indices of the dirty fields.
| |||||||||||
Determine if any of the given field values are modified, returning an array containing
indices of the modified fields.
| |||||||||||
Apply the
replace(Object, Object, SessionImplementor, Object, Map) operation across a series of values. | |||||||||||
Apply the
replace(Object, Object, SessionImplementor, Object, Map) operation across a series of values. | |||||||||||
Apply the
replace(Object, Object, SessionImplementor, Object, Map) operation across a series of values, as long as the corresponding
Type is an association. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Apply the assemble(Serializable, SessionImplementor, Object)
operation across a series of values.
row | The values |
---|---|
types | The value types |
session | The originating session |
owner | The entity "owning" the values |
Apply the beforeAssemble(Serializable, SessionImplementor)
operation across a series of values.
row | The values |
---|---|
types | The value types |
session | The originating session |
Deep copy a series of values from one array to another...
values | The values to copy (the source) |
---|---|
types | The value types |
copy | an array indicating which values to include in the copy |
target | The array into which to copy the values |
session | The originating session |
Apply the disassemble(Object, SessionImplementor, Object)
operation across a series of values.
row | The values |
---|---|
types | The value types |
nonCacheable | An array indicating which values to include in the disassembled state |
session | The originating session |
owner | The entity "owning" the values |
Determine if any of the given field values are dirty, returning an array containing indices of the dirty fields.
If it is determined that no fields are dirty, null is returned.properties | The property definitions |
---|---|
currentState | The current state of the entity |
previousState | The baseline state of the entity |
includeColumns | Columns to be included in the dirty checking, per property |
anyUninitializedProperties | Does the entity currently hold any uninitialized property values? |
session | The session from which the dirty check request originated. |
Determine if any of the given field values are modified, returning an array containing indices of the modified fields.
If it is determined that no fields are dirty, null is returned.properties | The property definitions |
---|---|
currentState | The current state of the entity |
previousState | The baseline state of the entity |
includeColumns | Columns to be included in the mod checking, per property |
anyUninitializedProperties | Does the entity currently hold any uninitialized property values? |
session | The session from which the dirty check request originated. |
Apply the replace(Object, Object, SessionImplementor, Object, Map)
operation across a series of values.
original | The source of the state |
---|---|
target | The target into which to replace the source values. |
types | The value types |
session | The originating session |
owner | The entity "owning" the values |
copyCache | A map representing a cache of already replaced state |
Apply the replace(Object, Object, SessionImplementor, Object, Map)
operation across a series of values.
original | The source of the state |
---|---|
target | The target into which to replace the source values. |
types | The value types |
session | The originating session |
owner | The entity "owning" the values |
copyCache | A map representing a cache of already replaced state |
foreignKeyDirection | FK directionality to be applied to the replacement |
Apply the replace(Object, Object, SessionImplementor, Object, Map)
operation across a series of values, as long as the corresponding
Type
is an association.
replace(Object, Object, SessionImplementor, Object, Map)
across the component
subtypes but do not replace the component value itself.original | The source of the state |
---|---|
target | The target into which to replace the source values. |
types | The value types |
session | The originating session |
owner | The entity "owning" the values |
copyCache | A map representing a cache of already replaced state |
foreignKeyDirection | FK directionality to be applied to the replacement |