Package com.alibaba.druid.support.spring
Class DruidNativeJdbcExtractor
- java.lang.Object
-
- org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
-
- com.alibaba.druid.support.spring.DruidNativeJdbcExtractor
-
- All Implemented Interfaces:
org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor
public class DruidNativeJdbcExtractor extends org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
-
-
Constructor Summary
Constructors Constructor Description DruidNativeJdbcExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConnectiondoGetNativeConnection(Connection con)CallableStatementgetNativeCallableStatement(CallableStatement cs)PreparedStatementgetNativePreparedStatement(PreparedStatement ps)ResultSetgetNativeResultSet(ResultSet rs)StatementgetNativeStatement(Statement stmt)-
Methods inherited from class org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter
getNativeConnection, getNativeConnectionFromStatement, isNativeConnectionNecessaryForNativeCallableStatements, isNativeConnectionNecessaryForNativePreparedStatements, isNativeConnectionNecessaryForNativeStatements
-
-
-
-
Method Detail
-
doGetNativeConnection
protected Connection doGetNativeConnection(Connection con) throws SQLException
- Overrides:
doGetNativeConnectionin classorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter- Throws:
SQLException
-
getNativeStatement
public Statement getNativeStatement(Statement stmt) throws SQLException
- Specified by:
getNativeStatementin interfaceorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor- Overrides:
getNativeStatementin classorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter- Throws:
SQLException
-
getNativePreparedStatement
public PreparedStatement getNativePreparedStatement(PreparedStatement ps) throws SQLException
- Specified by:
getNativePreparedStatementin interfaceorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor- Overrides:
getNativePreparedStatementin classorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter- Throws:
SQLException
-
getNativeCallableStatement
public CallableStatement getNativeCallableStatement(CallableStatement cs) throws SQLException
- Specified by:
getNativeCallableStatementin interfaceorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor- Overrides:
getNativeCallableStatementin classorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter- Throws:
SQLException
-
getNativeResultSet
public ResultSet getNativeResultSet(ResultSet rs) throws SQLException
- Specified by:
getNativeResultSetin interfaceorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor- Overrides:
getNativeResultSetin classorg.springframework.jdbc.support.nativejdbc.NativeJdbcExtractorAdapter- Throws:
SQLException
-
-