AbstractStandardBasicType
approach insteadpublic abstract class ImmutableType extends NullableType
Constructor and Description |
---|
ImmutableType()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
deepCopy(Object value,
EntityMode entityMode,
SessionFactoryImplementor factory)
Deprecated.
Return a deep copy of the persistent state, stopping at entities and at
collections.
|
boolean |
isMutable()
Deprecated.
Are objects of this type mutable.
|
Object |
replace(Object original,
Object target,
SessionImplementor session,
Object owner,
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, toXMLString
assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getReturnedClass
public final Object deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
Type
value
- generally a collection element or entity fieldpublic final boolean isMutable()
Type
public Object replace(Object original, Object target, SessionImplementor session, Object owner, Map copyCache) throws HibernateException
Type
original
- the value from the detached entity being mergedtarget
- the value in the managed entityHibernateException
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved