org.hibernate.type
Class PrimitiveByteArrayBlobType

java.lang.Object
  extended by org.hibernate.type.AbstractType
      extended by org.hibernate.type.AbstractLobType
          extended by org.hibernate.type.ByteArrayBlobType
              extended by org.hibernate.type.PrimitiveByteArrayBlobType
All Implemented Interfaces:
java.io.Serializable, Type

Deprecated. replaced by MaterializedBlobType

@Deprecated
public class PrimitiveByteArrayBlobType
extends ByteArrayBlobType

Map a byte[] to a Blob

Author:
Emmanuel Bernard
See Also:
Serialized Form

Constructor Summary
PrimitiveByteArrayBlobType()
          Deprecated.  
 
Method Summary
 java.lang.Class getReturnedClass()
          Deprecated. The class returned by Type.nullSafeGet(java.sql.ResultSet, java.lang.String[], org.hibernate.engine.SessionImplementor, java.lang.Object) methods.
protected  byte[] unWrap(java.lang.Object bytes)
          Deprecated.  
protected  java.lang.Object wrap(byte[] bytes)
          Deprecated.  
 
Methods inherited from class org.hibernate.type.ByteArrayBlobType
deepCopy, fromXMLNode, get, getHashCode, isEqual, isMutable, replace, set, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString
 
Methods inherited from class org.hibernate.type.AbstractLobType
getColumnSpan, getHashCode, getName, isDirty, isEqual, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet
 
Methods inherited from class org.hibernate.type.AbstractType
assemble, beforeAssemble, compare, disassemble, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, 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
 

Constructor Detail

PrimitiveByteArrayBlobType

public PrimitiveByteArrayBlobType()
Deprecated. 
Method Detail

getReturnedClass

public java.lang.Class getReturnedClass()
Deprecated. 
Description copied from interface: Type
The class returned by Type.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.

Specified by:
getReturnedClass in interface Type
Overrides:
getReturnedClass in class ByteArrayBlobType
Returns:
The java type class handled by this type.

wrap

protected java.lang.Object wrap(byte[] bytes)
Deprecated. 
Overrides:
wrap in class ByteArrayBlobType

unWrap

protected byte[] unWrap(java.lang.Object bytes)
Deprecated. 
Overrides:
unWrap in class ByteArrayBlobType


Copyright © 2013. All Rights Reserved.