Uses of Class
org.apache.commons.dbcp2.DelegatingConnection
Packages that use DelegatingConnection
Package
Description
Database Connection Pool API.
This package contains one public class which is a
ConnectionPoolDataSource (CPDS) implementation that can be used to
adapt older Driver based JDBC implementations.
This package provides support for pooling of ManagedConnections.
-
Uses of DelegatingConnection in org.apache.commons.dbcp2
Subclasses of DelegatingConnection in org.apache.commons.dbcp2Modifier and TypeClassDescriptionclassA delegating connection that, rather than closing the underlying connection, returns itself to anObjectPoolwhen closed.classADelegatingConnectionthat poolsPreparedStatements.private final classPoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore.private final classPoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore.Fields in org.apache.commons.dbcp2 declared as DelegatingConnectionModifier and TypeFieldDescriptionprivate final DelegatingConnection<?> DelegatingDatabaseMetaData.connectionThe connection that created me.private DelegatingConnection<?> DelegatingStatement.connectionThe connection that created me.Methods in org.apache.commons.dbcp2 that return DelegatingConnectionModifier and TypeMethodDescriptionprotected DelegatingConnection<?> DelegatingStatement.getConnectionInternal()Constructors in org.apache.commons.dbcp2 with parameters of type DelegatingConnectionModifierConstructorDescriptionDelegatingCallableStatement(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, org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection) Constructs a new instance.PoolablePreparedStatement(PreparedStatement stmt, K key, org.apache.commons.pool2.KeyedObjectPool<K, PoolablePreparedStatement<K>> pool, DelegatingConnection<?> conn) Constructs a new instance. -
Uses of DelegatingConnection in org.apache.commons.dbcp2.cpdsadapter
Subclasses of DelegatingConnection in org.apache.commons.dbcp2.cpdsadapterModifier and TypeClassDescription(package private) final classThis class is theConnectionthat will be returned fromPooledConnectionImpl.getConnection().Fields in org.apache.commons.dbcp2.cpdsadapter declared as DelegatingConnectionModifier and TypeFieldDescriptionprivate final DelegatingConnection<?> PooledConnectionImpl.delegatingConnectionA DelegatingConnection used to create a PoolablePreparedStatementStub. -
Uses of DelegatingConnection in org.apache.commons.dbcp2.managed
Subclasses of DelegatingConnection in org.apache.commons.dbcp2.managedModifier and TypeClassDescriptionclassManagedConnection<C extends Connection>ManagedConnection is responsible for managing a database connection in a transactional environment (typically called "Container Managed").classPoolableConnection that unregisters from TransactionRegistry on Connection real destroy.