| Package | Description | 
|---|---|
| org.apache.commons.dbcp2 | 
 Database Connection Pool API. | 
| org.apache.commons.dbcp2.managed | 
 This package provides support for pooling of ManagedConnections. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PoolableConnectionA delegating connection that, rather than closing the underlying connection, returns itself to an  ObjectPoolwhen closed. | 
| class  | PoolingConnectionA  DelegatingConnectionthat poolsPreparedStatements. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DelegatingConnection<?> | DelegatingStatement. getConnectionInternal() | 
| Constructor and Description | 
|---|
| DelegatingCallableStatement(DelegatingConnection<?> c,
                           CallableStatement s)Creates a wrapper for the Statement which traces this Statement to the Connection which created it and the code
 which created it. | 
| DelegatingDatabaseMetaData(DelegatingConnection<?> connection,
                          DatabaseMetaData databaseMetaData)Constructs a new instance for the given delegating connection and database meta data. | 
| DelegatingPreparedStatement(DelegatingConnection<?> connection,
                           PreparedStatement statement)Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code
 which created it. | 
| DelegatingStatement(DelegatingConnection<?> connection,
                   Statement statement)Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code
 which created it. | 
| PoolableCallableStatement(CallableStatement callableStatement,
                         PStmtKey key,
                         KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool,
                         DelegatingConnection<Connection> connection)Constructor. | 
| PoolablePreparedStatement(PreparedStatement stmt,
                         K key,
                         KeyedObjectPool<K,PoolablePreparedStatement<K>> pool,
                         DelegatingConnection<?> conn)Constructor | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ManagedConnection<C extends Connection>ManagedConnection is responsible for managing a database connection in a transactional environment (typically called
 "Container Managed"). | 
| class  | PoolableManagedConnectionPoolableConnection that unregisters from TransactionRegistry on Connection real destroy. | 
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.