org.hibernate.type
Class MaterializedBlobType

java.lang.Object
  extended by org.hibernate.type.AbstractType
      extended by org.hibernate.type.NullableType
          extended by org.hibernate.type.MutableType
              extended by org.hibernate.type.AbstractBynaryType
                  extended by org.hibernate.type.AbstractLongBinaryType
                      extended by org.hibernate.type.MaterializedBlobType
All Implemented Interfaces:
Serializable, Comparator, Type, VersionType
Direct Known Subclasses:
WrappedMaterializedBlobType

public class MaterializedBlobType
extends AbstractLongBinaryType

materialized_blob: A type that maps an SQL BLOB to Java byte[].

Author:
Gail Badner
See Also:
Serialized Form

Constructor Summary
MaterializedBlobType()
           
 
Method Summary
 String getName()
          Returns the abbreviated name of the type.
 int sqlType()
          A convenience form of NullableType.sqlTypes(org.hibernate.engine.Mapping), returning just a single type value since these are explicitly dealing with single column mappings.
 
Methods inherited from class org.hibernate.type.AbstractLongBinaryType
getReturnedClass, toExternalFormat, toInternalFormat
 
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.MutableType
deepCopy, isMutable, replace
 
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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

MaterializedBlobType

public MaterializedBlobType()
Method Detail

sqlType

public int sqlType()
Description copied from class: NullableType
A convenience form of NullableType.sqlTypes(org.hibernate.engine.Mapping), returning just a single type value since these are explicitly dealing with single column mappings.

Overrides:
sqlType in class AbstractBynaryType
Returns:
The Types mapping value.

getName

public String getName()
Description copied from interface: Type
Returns the abbreviated name of the type.

Specified by:
getName in interface Type
Specified by:
getName in class AbstractBynaryType
Returns:
String the Hibernate type name


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.