org.squashtest.csp.tm.internal.infrastructure.hibernate
Class BlobUserType

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.AbstractLobType
      extended by org.squashtest.csp.tm.internal.infrastructure.hibernate.BlobUserType
All Implemented Interfaces:
org.hibernate.usertype.UserType

public class BlobUserType
extends org.springframework.orm.hibernate3.support.AbstractLobType


Field Summary
 
Fields inherited from class org.springframework.orm.hibernate3.support.AbstractLobType
logger
 
Constructor Summary
BlobUserType()
           
 
Method Summary
protected  Object nullSafeGetInternal(ResultSet rs, String[] names, Object owner, org.springframework.jdbc.support.lob.LobHandler lobHandler)
           
protected  void nullSafeSetInternal(PreparedStatement ps, int index, Object value, org.springframework.jdbc.support.lob.LobCreator lobCreator)
           
 Class<?> returnedClass()
           
 int[] sqlTypes()
           
 
Methods inherited from class org.springframework.orm.hibernate3.support.AbstractLobType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobUserType

public BlobUserType()
Method Detail

sqlTypes

public int[] sqlTypes()

returnedClass

public Class<?> returnedClass()

nullSafeGetInternal

protected Object nullSafeGetInternal(ResultSet rs,
                                     String[] names,
                                     Object owner,
                                     org.springframework.jdbc.support.lob.LobHandler lobHandler)
                              throws SQLException,
                                     IOException,
                                     org.hibernate.HibernateException
Specified by:
nullSafeGetInternal in class org.springframework.orm.hibernate3.support.AbstractLobType
Throws:
SQLException
IOException
org.hibernate.HibernateException

nullSafeSetInternal

protected void nullSafeSetInternal(PreparedStatement ps,
                                   int index,
                                   Object value,
                                   org.springframework.jdbc.support.lob.LobCreator lobCreator)
                            throws SQLException,
                                   IOException,
                                   org.hibernate.HibernateException
Specified by:
nullSafeSetInternal in class org.springframework.orm.hibernate3.support.AbstractLobType
Throws:
SQLException
IOException
org.hibernate.HibernateException


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.