## Uses of Class
org.apache.commons.dbcp2.DelegatingConnection

- Packages that use DelegatingConnection
  Package | Description
  --- | ---
  org.apache.commons.dbcp2 | Database Connection Pool API.
  org.apache.commons.dbcp2.managed | This package provides support for pooling of ManagedConnections.

- - ### Uses of DelegatingConnection in org.apache.commons.dbcp2

    Subclasses of DelegatingConnection in org.apache.commons.dbcp2
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PoolableConnection` A delegating connection that, rather than closing the underlying connection, returns itself to an `ObjectPool` when closed.
    `class` | `PoolingConnection` A `DelegatingConnection` that pools `PreparedStatement`s.

    Methods in org.apache.commons.dbcp2 that return DelegatingConnection
    Modifier and Type | Method and Description
    --- | ---
    `protected DelegatingConnection<?>` | DelegatingStatement.`getConnectionInternal()`

    Constructors in org.apache.commons.dbcp2 with parameters of type DelegatingConnection
    Constructor and Description
    `DelegatingCallableStatement(DelegatingConnection<?> c, CallableStatement s)` Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code which created it.
    `DelegatingDatabaseMetaData(DelegatingConnection<?> c, DatabaseMetaData m)`
    `DelegatingPreparedStatement(DelegatingConnection<?> c, PreparedStatement s)` Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code which created it.
    `DelegatingStatement(DelegatingConnection<?> c, Statement s)` Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code which created it.
    `PoolableCallableStatement(CallableStatement stmt, PStmtKey key, KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool, DelegatingConnection<Connection> conn)` Constructor.
    `PoolablePreparedStatement(PreparedStatement stmt, K key, KeyedObjectPool<K,PoolablePreparedStatement<K>> pool, DelegatingConnection<?> conn)` Constructor

  - ### Uses of DelegatingConnection in org.apache.commons.dbcp2.managed

    Subclasses of DelegatingConnection in org.apache.commons.dbcp2.managed
    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` | `PoolableManagedConnection` PoolableConnection that unregisters from TransactionRegistry on Connection real destroy.

Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.