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> p)
KeyedPooledObjectFactory method for activating
pooled statements. |
void |
PoolingConnection.destroyObject(PStmtKey key,
PooledObject<DelegatingPreparedStatement> p)
KeyedPooledObjectFactory method for destroying
PoolablePreparedStatements and PoolableCallableStatements. |
void |
PoolingConnection.passivateObject(PStmtKey key,
PooledObject<DelegatingPreparedStatement> p)
|
void |
PoolingConnection.setStatementPool(KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool) |
boolean |
PoolingConnection.validateObject(PStmtKey key,
PooledObject<DelegatingPreparedStatement> p)
KeyedPooledObjectFactory method for validating
pooled statements. |
Constructor and Description |
---|
PoolableCallableStatement(CallableStatement stmt,
PStmtKey key,
KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool,
DelegatingConnection<Connection> conn)
Constructor.
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.