public class PoolableManagedConnection extends PoolableConnection
PoolableConnection
Constructor | 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 | Description |
---|---|---|
void |
reallyClose() |
Actually close the underlying connection.
|
printStackTrace
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
abort, clearWarnings, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, equals, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDelegate, getHoldability, getInnermostDelegate, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, hashCode, innermostDelegateEquals, isClosed, isReadOnly, isValid, isWrapperFor, nativeSQL, 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
close
public PoolableManagedConnection(TransactionRegistry transactionRegistry, java.sql.Connection conn, org.apache.commons.pool.ObjectPool pool)
transactionRegistry
- transaction registryconn
- underlying connectionpool
- connection poolpublic 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 void reallyClose() throws java.sql.SQLException
reallyClose
in class PoolableConnection
java.sql.SQLException
Copyright © 2001-2004 Apache Software Foundation. Documenation generated April 15 2019.