Package | Description |
---|---|
org.apache.commons.dbcp2 |
Database Connection Pool API.
|
Modifier and Type | Class and 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. |
Modifier and Type | Method and Description |
---|---|
PooledObject<DelegatingPreparedStatement> |
PoolingConnection.makeObject(PStmtKey key)
KeyedPooledObjectFactory method for creating PoolablePreparedStatement s or
PoolableCallableStatement s. |
Modifier and Type | Method and 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)
|
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 and Description |
---|
PoolableCallableStatement(CallableStatement callableStatement,
PStmtKey key,
KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool,
DelegatingConnection<Connection> connection)
Constructor.
|
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.