org.hibernate.type
Class WrappedMaterializedBlobType
java.lang.Object
org.hibernate.type.AbstractType
org.hibernate.type.NullableType
org.hibernate.type.MutableType
org.hibernate.type.AbstractBynaryType
org.hibernate.type.AbstractLongBinaryType
org.hibernate.type.MaterializedBlobType
org.hibernate.type.WrappedMaterializedBlobType
- All Implemented Interfaces:
- Serializable, Comparator, Type, VersionType
public class WrappedMaterializedBlobType
- extends MaterializedBlobType
materialized_blob: A type that maps an SQL BLOB to Java Byte[].
- Author:
- Strong Liu
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.type.AbstractBynaryType |
compare, compare, deepCopyNotNull, fromStringValue, get, getComparator, getHashCode, isEqual, next, seed, set, toString |
Methods inherited from class org.hibernate.type.NullableType |
fromXMLNode, fromXMLString, getColumnSpan, isDirty, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toXMLString |
Methods inherited from class org.hibernate.type.AbstractType |
assemble, beforeAssemble, disassemble, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hibernate.type.Type |
assemble, beforeAssemble, deepCopy, disassemble, fromXMLNode, getColumnSpan, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString |
WrappedMaterializedBlobType
public WrappedMaterializedBlobType()
getReturnedClass
public Class getReturnedClass()
- Description copied from interface:
Type
- The class returned by nullSafeGet() methods. This is used to
establish the class of an array of this type.
- Specified by:
getReturnedClass
in interface Type
- Overrides:
getReturnedClass
in class AbstractLongBinaryType
- Returns:
- Class
toExternalFormat
protected Object toExternalFormat(byte[] bytes)
- Description copied from class:
AbstractBynaryType
- Convert the byte[] into the expected object type
- Overrides:
toExternalFormat
in class AbstractLongBinaryType
toInternalFormat
protected byte[] toInternalFormat(Object bytes)
- Description copied from class:
AbstractBynaryType
- Convert the object into the internal byte[] representation
- Overrides:
toInternalFormat
in class AbstractLongBinaryType
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.