|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Subinterface of Connection to be implemented by connection proxies. Allows access to the target connection.
Can be checked for when needing to cast to a native Connection like OracleConnection. Spring's NativeJdbcExtractorAdapter automatically detects such proxies before delegating to the actual unwrapping for a specific connection pool.
NativeJdbcExtractorAdapter.getNativeConnection(java.sql.Connection)
Field Summary |
Fields inherited from interface java.sql.Connection |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Method Summary | |
java.sql.Connection |
getTargetConnection()
Return the target connection of this proxy. |
Methods inherited from interface java.sql.Connection |
clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap |
Method Detail |
public java.sql.Connection getTargetConnection()
This will typically either be the native JDBC Connection or a wrapper from a connection pool.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |