Uses of Class
org.apache.commons.dbcp2.DelegatingConnection
Package
Description
Database Connection Pool API.
This package provides support for pooling of ManagedConnections.
-
Uses of DelegatingConnection in org.apache.commons.dbcp2
Modifier and TypeClassDescriptionclass
A delegating connection that, rather than closing the underlying connection, returns itself to anObjectPool
when closed.class
ADelegatingConnection
that poolsPreparedStatement
s.Modifier and TypeMethodDescriptionprotected DelegatingConnection
<?> DelegatingStatement.getConnectionInternal()
ModifierConstructorDescriptionDelegatingCallableStatement
(DelegatingConnection<?> connection, CallableStatement statement) 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) Constructs a new instance.PoolablePreparedStatement
(PreparedStatement stmt, K key, KeyedObjectPool<K, PoolablePreparedStatement<K>> pool, DelegatingConnection<?> conn) Constructs a new instance. -
Uses of DelegatingConnection in org.apache.commons.dbcp2.managed
Modifier and TypeClassDescriptionclass
ManagedConnection<C extends Connection>
ManagedConnection is responsible for managing a database connection in a transactional environment (typically called "Container Managed").class
PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.