Uses of Class
org.apache.commons.dbcp2.DelegatingPreparedStatement
-
Uses of DelegatingPreparedStatement in org.apache.commons.dbcp2
Modifier and TypeClassDescriptionclass
A base delegating implementation ofCallableStatement
.class
ADelegatingCallableStatement
that cooperates withPoolingConnection
to implement a pool ofCallableStatement
s.class
ADelegatingPreparedStatement
that cooperates withPoolingConnection
to implement a pool ofPreparedStatement
s.Modifier and TypeMethodDescriptionPoolingConnection.getStatementPool()
Gets the prepared statement pool.PoolingConnection.makeObject
(PStmtKey key) KeyedPooledObjectFactory
method for creatingPoolablePreparedStatement
s orPoolableCallableStatement
s.Modifier and TypeMethodDescriptionvoid
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) 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.ModifierConstructorDescriptionPoolableCallableStatement
(CallableStatement callableStatement, PStmtKey key, KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection) Constructs a new instance.