public class PoolableManagedConnection extends PoolableConnection
PoolableConnection| Constructor and Description |
|---|
PoolableManagedConnection(TransactionRegistry transactionRegistry,
java.sql.Connection conn,
ObjectPool<PoolableConnection> pool)
Create a PoolableManagedConnection.
|
PoolableManagedConnection(TransactionRegistry transactionRegistry,
java.sql.Connection conn,
ObjectPool<PoolableConnection> pool,
java.util.Collection<java.lang.String> disconnectSqlCodes,
boolean fastFailValidation)
Create a PoolableManagedConnection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
reallyClose()
Actually close the underlying connection.
|
close, getToString, handleException, isClosed, passivate, validateabort, activate, checkOpen, clearCachedState, clearWarnings, closeInternal, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCacheState, getCatalog, getClientInfo, getClientInfo, getDefaultQueryTimeout, getDelegate, getDelegateInternal, getHoldability, getInnermostDelegate, getInnermostDelegateInternal, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, innermostDelegateEquals, isClosedInternal, isReadOnly, isValid, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCacheState, setCatalog, setClientInfo, setClientInfo, setClosedInternal, setDefaultQueryTimeout, setDelegate, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, toString, unwrapaddTrace, clearTrace, getLastUsed, getTrace, removeTrace, setLastUsed, setLastUsedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearCachedState, clearWarnings, getAutoCommit, getCacheState, getCatalog, getHoldability, getSchema, getTransactionIsolation, isReadOnly, setAutoCommit, setCacheState, setCatalog, setHoldability, setReadOnly, setSchema, setTransactionIsolationpublic PoolableManagedConnection(TransactionRegistry transactionRegistry, java.sql.Connection conn, ObjectPool<PoolableConnection> pool)
transactionRegistry - transaction registryconn - underlying connectionpool - connection poolpublic PoolableManagedConnection(TransactionRegistry transactionRegistry, java.sql.Connection conn, ObjectPool<PoolableConnection> pool, java.util.Collection<java.lang.String> disconnectSqlCodes, boolean fastFailValidation)
transactionRegistry - transaction registryconn - underlying connectionpool - connection pooldisconnectSqlCodes - SQL_STATE codes considered fatal disconnection errorsfastFailValidation - true means fatal disconnection errors cause subsequent validations to fail immediately (no attempt to
run query or isValid)public void reallyClose()
throws java.sql.SQLException
reallyClose in interface PoolableConnectionMXBeanreallyClose in class PoolableConnectionjava.sql.SQLExceptionCopyright © 2000-1969 Apache Software Foundation. All Rights Reserved.