public class DataSourceProxyNativeJdbcExtractor
extends org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
If delegating extractor is specified, after unwrapping our proxy, delegating extractor will be applied.
| Constructor and Description |
|---|
DataSourceProxyNativeJdbcExtractor() |
| Modifier and Type | Method and Description |
|---|---|
protected Connection |
doGetNativeConnection(Connection con) |
CallableStatement |
getNativeCallableStatement(CallableStatement cs) |
PreparedStatement |
getNativePreparedStatement(PreparedStatement ps) |
Statement |
getNativeStatement(Statement stmt) |
void |
setDelegate(org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor delegate) |
getNativeConnection, getNativeConnectionFromStatement, getNativeResultSet, isNativeConnectionNecessaryForNativeCallableStatements, isNativeConnectionNecessaryForNativePreparedStatements, isNativeConnectionNecessaryForNativeStatementsprotected Connection doGetNativeConnection(Connection con) throws SQLException
doGetNativeConnection in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapterSQLExceptionpublic Statement getNativeStatement(Statement stmt) throws SQLException
getNativeStatement in interface org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorgetNativeStatement in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapterSQLExceptionpublic PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException
getNativePreparedStatement in interface org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorgetNativePreparedStatement in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapterSQLExceptionpublic CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException
getNativeCallableStatement in interface org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorgetNativeCallableStatement in class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapterSQLExceptionpublic void setDelegate(org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor delegate)
Copyright © 2018. All rights reserved.