com.alibaba.druid.support.spring
Class DruidLobHandler

java.lang.Object
  extended by org.springframework.jdbc.support.lob.AbstractLobHandler
      extended by com.alibaba.druid.support.spring.DruidLobHandler
All Implemented Interfaces:
org.springframework.jdbc.support.lob.LobHandler

public class DruidLobHandler
extends org.springframework.jdbc.support.lob.AbstractLobHandler


Constructor Summary
DruidLobHandler()
           
 
Method Summary
 InputStream getBlobAsBinaryStream(ResultSet rs, int columnIndex)
           
 byte[] getBlobAsBytes(ResultSet rs, int columnIndex)
           
 InputStream getClobAsAsciiStream(ResultSet rs, int columnIndex)
           
 Reader getClobAsCharacterStream(ResultSet rs, int columnIndex)
           
 String getClobAsString(ResultSet rs, int columnIndex)
           
 org.springframework.jdbc.support.lob.LobCreator getLobCreator()
           
 
Methods inherited from class org.springframework.jdbc.support.lob.AbstractLobHandler
getBlobAsBinaryStream, getBlobAsBytes, getClobAsAsciiStream, getClobAsCharacterStream, getClobAsString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DruidLobHandler

public DruidLobHandler()
Method Detail

getBlobAsBytes

public byte[] getBlobAsBytes(ResultSet rs,
                             int columnIndex)
                      throws SQLException
Throws:
SQLException

getBlobAsBinaryStream

public InputStream getBlobAsBinaryStream(ResultSet rs,
                                         int columnIndex)
                                  throws SQLException
Throws:
SQLException

getClobAsString

public String getClobAsString(ResultSet rs,
                              int columnIndex)
                       throws SQLException
Throws:
SQLException

getClobAsAsciiStream

public InputStream getClobAsAsciiStream(ResultSet rs,
                                        int columnIndex)
                                 throws SQLException
Throws:
SQLException

getClobAsCharacterStream

public Reader getClobAsCharacterStream(ResultSet rs,
                                       int columnIndex)
                                throws SQLException
Throws:
SQLException

getLobCreator

public org.springframework.jdbc.support.lob.LobCreator getLobCreator()


Copyright © 2012 Alibaba Group. All Rights Reserved.