net.ttddyy.dsproxy.support
Class DataSourceProxyNativeJdbcExtractor
java.lang.Object
org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
net.ttddyy.dsproxy.support.DataSourceProxyNativeJdbcExtractor
- All Implemented Interfaces:
- org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor
public class DataSourceProxyNativeJdbcExtractor
- extends org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
Spring NativeJdbcExtractor for our proxy classes.
If delegating extractor is specified, after unwrapping our proxy, delegating
extractor will be applied.
- Author:
- Tadaya Tsuyukubo
| Methods inherited from class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter |
getNativeConnection, getNativeConnectionFromStatement, getNativeResultSet, isNativeConnectionNecessaryForNativeCallableStatements, isNativeConnectionNecessaryForNativePreparedStatements, isNativeConnectionNecessaryForNativeStatements |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceProxyNativeJdbcExtractor
public DataSourceProxyNativeJdbcExtractor()
doGetNativeConnection
protected Connection doGetNativeConnection(Connection con)
throws SQLException
- Overrides:
doGetNativeConnection in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
- Throws:
SQLException
getNativeStatement
public Statement getNativeStatement(Statement stmt)
throws SQLException
- Specified by:
getNativeStatement in interface org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor- Overrides:
getNativeStatement in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
- Throws:
SQLException
getNativePreparedStatement
public PreparedStatement getNativePreparedStatement(PreparedStatement ps)
throws SQLException
- Specified by:
getNativePreparedStatement in interface org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor- Overrides:
getNativePreparedStatement in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
- Throws:
SQLException
getNativeCallableStatement
public CallableStatement getNativeCallableStatement(CallableStatement cs)
throws SQLException
- Specified by:
getNativeCallableStatement in interface org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor- Overrides:
getNativeCallableStatement in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
- Throws:
SQLException
setDelegate
public void setDelegate(org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor delegate)
Copyright © 2012. All Rights Reserved.