AbstractStandardBasicType approach insteadpublic abstract class MutableType extends NullableType
| Constructor and Description |
|---|
MutableType()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deepCopy(java.lang.Object value,
EntityMode entityMode,
SessionFactoryImplementor factory)
Deprecated.
Return a deep copy of the persistent state, stopping at entities and at
collections.
|
protected abstract java.lang.Object |
deepCopyNotNull(java.lang.Object value)
Deprecated.
|
boolean |
isMutable()
Deprecated.
Are objects of this type mutable.
|
java.lang.Object |
replace(java.lang.Object original,
java.lang.Object target,
SessionImplementor session,
java.lang.Object owner,
java.util.Map copyCache)
Deprecated.
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, isDirty, isEqual, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, set, setToXMLNode, sqlType, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLStringassemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getReturnedClasspublic final boolean isMutable()
Typeprotected abstract java.lang.Object deepCopyNotNull(java.lang.Object value)
throws HibernateException
HibernateExceptionpublic final java.lang.Object deepCopy(java.lang.Object value,
EntityMode entityMode,
SessionFactoryImplementor factory)
throws HibernateException
Typevalue - generally a collection element or entity fieldHibernateExceptionpublic java.lang.Object replace(java.lang.Object original,
java.lang.Object target,
SessionImplementor session,
java.lang.Object owner,
java.util.Map copyCache)
throws HibernateException
Typeoriginal - the value from the detached entity being mergedtarget - the value in the managed entityHibernateExceptionCopyright © 2013. All Rights Reserved.