org.springframework.orm.hibernate.support
Class SpoolingBlobInputStreamType

java.lang.Object
  extended by org.springframework.orm.hibernate.support.AbstractLobType
      extended by org.springframework.orm.hibernate.support.BlobInputStreamType
          extended by org.springframework.orm.hibernate.support.SpoolingBlobInputStreamType
All Implemented Interfaces:
net.sf.hibernate.UserType

public class SpoolingBlobInputStreamType
extends BlobInputStreamType

LobType that spools data when getting and setting lob data types


Field Summary
 
Fields inherited from class org.springframework.orm.hibernate.support.AbstractLobType
LOB_CREATOR_SYNCHRONIZATION_ORDER, logger
 
Constructor Summary
SpoolingBlobInputStreamType()
           
 
Method Summary
protected  java.lang.Object nullSafeGetInternal(java.sql.ResultSet rs, int index, org.springframework.jdbc.support.lob.LobHandler lobHandler)
           
protected  void nullSafeSetInternal(java.sql.PreparedStatement ps, int index, java.lang.Object value, org.springframework.jdbc.support.lob.LobCreator lobCreator)
           
 void setSpool(com.atlassian.core.spool.Spool spool)
           
 
Methods inherited from class org.springframework.orm.hibernate.support.BlobInputStreamType
returnedClass, sqlTypes
 
Methods inherited from class org.springframework.orm.hibernate.support.AbstractLobType
deepCopy, equals, isMutable, nullSafeGet, nullSafeSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpoolingBlobInputStreamType

public SpoolingBlobInputStreamType()
Method Detail

setSpool

public void setSpool(com.atlassian.core.spool.Spool spool)

nullSafeGetInternal

protected java.lang.Object nullSafeGetInternal(java.sql.ResultSet rs,
                                               int index,
                                               org.springframework.jdbc.support.lob.LobHandler lobHandler)
                                        throws java.sql.SQLException,
                                               java.io.IOException,
                                               net.sf.hibernate.HibernateException
Overrides:
nullSafeGetInternal in class BlobInputStreamType
Throws:
java.sql.SQLException
java.io.IOException
net.sf.hibernate.HibernateException

nullSafeSetInternal

protected void nullSafeSetInternal(java.sql.PreparedStatement ps,
                                   int index,
                                   java.lang.Object value,
                                   org.springframework.jdbc.support.lob.LobCreator lobCreator)
                            throws java.sql.SQLException,
                                   java.io.IOException,
                                   net.sf.hibernate.HibernateException
Overrides:
nullSafeSetInternal in class BlobInputStreamType
Throws:
java.sql.SQLException
java.io.IOException
net.sf.hibernate.HibernateException


Copyright © 2003-2014 Atlassian. All Rights Reserved.