Class TypeHelper
java.lang.Object
org.hibernate.type.TypeHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeepCopy(Object[] values, Type[] types, boolean[] copy, Object[] target, SharedSessionContractImplementor session) Deep copy a series of values from one array to another...static Object[]replace(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) Apply theType.replace(Object, Object, SharedSessionContractImplementor, Object, Map)operation across a series of values.static Object[]replace(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache, ForeignKeyDirection foreignKeyDirection) Apply theType.replace(Object, Object, SharedSessionContractImplementor, Object, Map)operation across a series of values.static voidreplace(EntityPersister persister, Object entity, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) Apply theType.replace(Object, Object, SharedSessionContractImplementor, Object, Map)operation across a series of values.static Object[]replaceAssociations(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache, ForeignKeyDirection foreignKeyDirection) Apply theType.replace(Object, Object, SharedSessionContractImplementor, Object, Map)operation across a series of values, as long as the correspondingTypeis an association.
-
Method Details