public class PoolableManagedConnection extends PoolableConnection
PoolableConnection
Modifier and Type | Field and Description |
---|---|
private TransactionRegistry |
transactionRegistry |
_pool
_closed, _conn
Constructor and Description |
---|
PoolableManagedConnection(TransactionRegistry transactionRegistry,
java.sql.Connection conn,
org.apache.commons.pool.ObjectPool pool)
Create a PoolableManagedConnection.
|
PoolableManagedConnection(TransactionRegistry transactionRegistry,
java.sql.Connection conn,
org.apache.commons.pool.ObjectPool pool,
AbandonedConfig config)
Create a PoolableManagedConnection.
|
Modifier and Type | Method and Description |
---|---|
void |
reallyClose()
Actually close the underlying connection.
|
close
abort, activate, checkOpen, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, equals, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDelegate, getDelegateInternal, getHoldability, getInnermostDelegate, getInnermostDelegateInternal, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, handleException, hashCode, innermostDelegateEquals, isClosed, isReadOnly, isValid, isWrapperFor, nativeSQL, passivate, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setDelegate, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, toString, unwrap
addTrace, clearTrace, getConfig, getLastUsed, getTrace, printStackTrace, removeTrace, setLastUsed, setLastUsed, setStackTrace
private final TransactionRegistry transactionRegistry
public PoolableManagedConnection(TransactionRegistry transactionRegistry, java.sql.Connection conn, org.apache.commons.pool.ObjectPool pool, AbandonedConfig config)
transactionRegistry
- transaction registryconn
- underlying connectionpool
- connection poolconfig
- abandoned configuration settingspublic PoolableManagedConnection(TransactionRegistry transactionRegistry, java.sql.Connection conn, org.apache.commons.pool.ObjectPool pool)
transactionRegistry
- transaction registryconn
- underlying connectionpool
- connection poolpublic void reallyClose() throws java.sql.SQLException
reallyClose
in class PoolableConnection
java.sql.SQLException