org.springframework.orm.hibernate.support
Class BlobInputStreamType
java.lang.Object
org.springframework.orm.hibernate.support.AbstractLobType
org.springframework.orm.hibernate.support.BlobInputStreamType
- All Implemented Interfaces:
- net.sf.hibernate.UserType
- Direct Known Subclasses:
- SpoolingBlobInputStreamType
public class BlobInputStreamType
- extends org.springframework.orm.hibernate.support.AbstractLobType
LobType that allows InputStreams to be saved as BLOBs to a database.
Fields inherited from class org.springframework.orm.hibernate.support.AbstractLobType |
LOB_CREATOR_SYNCHRONIZATION_ORDER, logger |
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 |
BlobInputStreamType
public BlobInputStreamType()
nullSafeGetInternal
protected Object nullSafeGetInternal(ResultSet rs,
int index,
org.springframework.jdbc.support.lob.LobHandler lobHandler)
throws SQLException,
IOException,
net.sf.hibernate.HibernateException
- Specified by:
nullSafeGetInternal
in class org.springframework.orm.hibernate.support.AbstractLobType
- Throws:
SQLException
IOException
net.sf.hibernate.HibernateException
nullSafeSetInternal
protected void nullSafeSetInternal(PreparedStatement ps,
int index,
Object value,
org.springframework.jdbc.support.lob.LobCreator lobCreator)
throws SQLException,
IOException,
net.sf.hibernate.HibernateException
- Specified by:
nullSafeSetInternal
in class org.springframework.orm.hibernate.support.AbstractLobType
- Throws:
SQLException
IOException
net.sf.hibernate.HibernateException
sqlTypes
public int[] sqlTypes()
returnedClass
public Class returnedClass()
Copyright © 2003-2013 Atlassian. All Rights Reserved.