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:
Serializable, Type

Deprecated. replaced by Hibernate Core's 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
 Class getReturnedClass()
          Deprecated. The class returned by nullSafeGet() methods.
protected  byte[] unWrap(Object bytes)
          Deprecated.  
protected  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 Class getReturnedClass()
Deprecated. 
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 ByteArrayBlobType
Returns:
Class

wrap

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

unWrap

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


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