Home » Spring-Framework-090522 » org.springframework » orm » hibernate » support » [javadoc | source]
public class: BlobByteArrayType [javadoc | source]

All Implemented Interfaces:

Hibernate UserType implementation for byte arrays that get mapped to BLOBs. Retrieves the LobHandler to use from LocalSessionFactoryBean at config time.

Can also be defined in generic Hibernate mappings, as DefaultLobCreator will work with most JDBC-compliant database drivers. In this case, the field type does not have to be BLOB: For databases like MySQL and MS SQL Server, any large enough binary type will work.

Fields inherited from org.springframework.orm.hibernate.support.AbstractLobType:
 public BlobByteArrayType() 
 protected BlobByteArrayType(LobHandler lobHandler,
    TransactionManager jtaTransactionManager) 
    Constructor used for testing: takes an explicit LobHandler and an explicit JTA TransactionManager (can be null).
Method from org.springframework.orm.hibernate.support.BlobByteArrayType Summary:
deepCopy,   equals,   isMutable,   nullSafeGetInternal,   nullSafeSetInternal,   returnedClass,   sqlTypes
Methods from org.springframework.orm.hibernate.support.AbstractLobType:
deepCopy,   equals,   isMutable,   nullSafeGet,   nullSafeGetInternal,   nullSafeSet,   nullSafeSetInternal
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.orm.hibernate.support.BlobByteArrayType Detail:
 public Object deepCopy(Object value) 
 public boolean equals(Object x,
    Object y) 
 public boolean isMutable() 
 protected Object nullSafeGetInternal(ResultSet rs,
    int index,
    LobHandler lobHandler) throws SQLException 
 protected  void nullSafeSetInternal(PreparedStatement ps,
    int index,
    Object value,
    LobCreator lobCreator) throws SQLException 
 public Class returnedClass() 
 public int[] sqlTypes()