WrappedMaterializedBlobType@Deprecated public class ByteArrayBlobType extends AbstractLobType
| Constructor and Description |
|---|
ByteArrayBlobType()
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.
|
Object |
fromXMLNode(org.dom4j.Node xml,
Mapping factory)
Deprecated.
Parse the XML representation of an instance.
|
protected Object |
get(ResultSet rs,
String name)
Deprecated.
|
int |
getHashCode(Object x,
EntityMode entityMode,
SessionFactoryImplementor factory)
Deprecated.
Get a hash code, consistent with persistence "equality".
|
Class |
getReturnedClass()
Deprecated.
The class returned by
Type.nullSafeGet(java.sql.ResultSet, java.lang.String[], org.hibernate.engine.SessionImplementor, java.lang.Object) methods. |
boolean |
isEqual(Object x,
Object y,
EntityMode entityMode,
SessionFactoryImplementor factory)
Deprecated.
Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent
state).
|
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.
|
protected void |
set(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Deprecated.
|
void |
setToXMLNode(org.dom4j.Node node,
Object value,
SessionFactoryImplementor factory)
Deprecated.
A representation of the value to be embedded in an XML element.
|
int[] |
sqlTypes(Mapping mapping)
Deprecated.
Return the JDBC types codes (per
Types) for the columns mapped by this type. |
boolean[] |
toColumnNullness(Object value,
Mapping mapping)
Deprecated.
Given an instance of the type, return an array of boolean, indicating
which mapped columns would be null.
|
String |
toLoggableString(Object value,
SessionFactoryImplementor factory)
Deprecated.
A representation of the value to be embedded in a log file.
|
String |
toString(Object val)
Deprecated.
|
protected byte[] |
unWrap(Object bytes)
Deprecated.
|
protected Object |
wrap(byte[] bytes)
Deprecated.
|
getColumnSpan, getHashCode, getName, isDirty, isEqual, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSetassemble, beforeAssemble, compare, disassemble, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolvepublic int[] sqlTypes(Mapping mapping)
TypeTypes) for the columns mapped by this type.mapping - The mapping object :/public boolean isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
TypeisEqual in interface TypeisEqual in class AbstractTypex - The first valuey - The second valueentityMode - The entity mode of the values.factory - The session factorypublic int getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
Type#hashCode.getHashCode in interface TypegetHashCode in class AbstractTypex - The value for which to retrieve a hash codeentityMode - The entity mode of the value.factory - The session factorypublic Object deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory) throws HibernateException
Typevalue - generally a collection element or entity fieldHibernateExceptionpublic Class getReturnedClass()
TypeType.nullSafeGet(java.sql.ResultSet, java.lang.String[], org.hibernate.engine.SessionImplementor, java.lang.Object) methods. This is used to establish the class of an array of
this type.protected Object get(ResultSet rs, String name) throws SQLException
get in class AbstractLobTypeSQLExceptionprotected void set(PreparedStatement st, Object value, int index, SessionImplementor session) throws SQLException
set in class AbstractLobTypeSQLExceptionpublic void setToXMLNode(org.dom4j.Node node,
Object value,
SessionFactoryImplementor factory)
throws HibernateException
TypeHibernateExceptionpublic String toLoggableString(Object value, SessionFactoryImplementor factory)
Typepublic Object fromXMLNode(org.dom4j.Node xml, Mapping factory) throws HibernateException
TypeHibernateExceptionprotected Object wrap(byte[] bytes)
protected byte[] unWrap(Object bytes)
public boolean isMutable()
Typepublic Object replace(Object original, Object target, SessionImplementor session, Object owner, Map copyCache) throws HibernateException
Typeoriginal - the value from the detached entity being mergedtarget - the value in the managed entityHibernateExceptionCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved