package

org.springframework.jdbc.support.nativejdbc

Provides a mechanism for extracting native implementations of JDBC interfaces from wrapper objects that got returned from connection pools.

Can be used independently, for example in custom JDBC access code.

Interfaces

NativeJdbcExtractor Interface for extracting native JDBC objects from wrapped objects coming from connection pools. 

Classes

C3P0NativeJdbcExtractor Implementation of the NativeJdbcExtractor interface for the C3P0 connection pool. 
CommonsDbcpNativeJdbcExtractor Implementation of the NativeJdbcExtractor interface for the Jakarta Commons DBCP connection pool, version 1.1 or higher. 
JBossNativeJdbcExtractor Implementation of the NativeJdbcExtractor interface for JBoss, supporting JBoss Application Server 3.2.4+. 
Jdbc4NativeJdbcExtractor NativeJdbcExtractor implementation that delegates to JDBC 4.0's unwrap method, as defined by java.sql.Wrapper. 
NativeJdbcExtractorAdapter Abstract adapter class for the NativeJdbcExtractor interface, for simplified implementation of basic extractors. 
OracleJdbc4NativeJdbcExtractor A Jdbc4NativeJdbcExtractor which comes pre-configured for Oracle's JDBC driver, specifying the following vendor-specific API types for unwrapping:
  • oracle.jdbc.OracleConnection
  • oracle.jdbc.OracleStatement
  • oracle.jdbc.OraclePreparedStatement
  • oracle.jdbc.OracleCallableStatement
  • oracle.jdbc.OracleResultSet

Note: This will work with any JDBC 4.0 compliant connection pool, without a need for connection pool specific setup. 

SimpleNativeJdbcExtractor Simple implementation of the NativeJdbcExtractor interface. 
WebLogicNativeJdbcExtractor Implementation of the NativeJdbcExtractor interface for WebLogic, supporting WebLogic Server 8.1 and higher. 
WebSphereNativeJdbcExtractor Implementation of the NativeJdbcExtractor interface for WebSphere, supporting WebSphere Application Server 5.1 and higher.