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

Packages that use DelegatingPreparedStatement
Package
Description
org.apache.commons.dbcp2
Database Connection Pool API.

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

  Subclasses of DelegatingPreparedStatement in org.apache.commons.dbcp2
  Modifier and Type
  Class
  Description
  `class`
  `DelegatingCallableStatement`
  A base delegating implementation of `CallableStatement`.
  `class`
  `PoolableCallableStatement`
  A `DelegatingCallableStatement` that cooperates with `PoolingConnection` to implement a pool of `CallableStatement`s.
  `class`
  `PoolablePreparedStatement<K>`
  A `DelegatingPreparedStatement` that cooperates with `PoolingConnection` to implement a pool of `PreparedStatement`s.
  Methods in org.apache.commons.dbcp2 that return types with arguments of type DelegatingPreparedStatement
  Modifier and Type
  Method
  Description
  `KeyedObjectPool<PStmtKey,DelegatingPreparedStatement>`
  PoolingConnection.`getStatementPool()`
  Gets the prepared statement pool.
  `PooledObject<DelegatingPreparedStatement>`
  PoolingConnection.`makeObject(PStmtKey key)`
  `KeyedPooledObjectFactory` method for creating `PoolablePreparedStatement`s or `PoolableCallableStatement`s.
  Method parameters in org.apache.commons.dbcp2 with type arguments of type DelegatingPreparedStatement
  Modifier and Type
  Method
  Description
  `void`
  PoolingConnection.`activateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject)`
  `KeyedPooledObjectFactory` method for activating pooled statements.
  `void`
  PoolingConnection.`destroyObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject)`
  `KeyedPooledObjectFactory` method for destroying PoolablePreparedStatements and PoolableCallableStatements.
  `void`
  PoolingConnection.`passivateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject)`
  `KeyedPooledObjectFactory` method for passivating `PreparedStatement`s or `CallableStatement`s.
  `void`
  PoolingConnection.`setStatementPool(KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool)`
  Sets the prepared statement pool.
  `boolean`
  PoolingConnection.`validateObject(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject)`
  `KeyedPooledObjectFactory` method for validating pooled statements.
  Constructor parameters in org.apache.commons.dbcp2 with type arguments of type DelegatingPreparedStatement
  Modifier
  Constructor
  Description
  ``
  `PoolableCallableStatement(CallableStatement callableStatement, PStmtKey key, KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection)`
  Constructor.