Uses of Class
org.apache.commons.dbcp2.PStmtKey
Package
Description
Database Connection Pool API.
This package contains one public class which is a
ConnectionPoolDataSource
(CPDS) implementation that can be used to
adapt older Driver
based JDBC implementations.-
Uses of PStmtKey in org.apache.commons.dbcp2
Modifier and TypeMethodDescriptionprotected PStmtKey
Creates a PStmtKey for the given arguments.protected PStmtKey
Creates a PStmtKey for the given arguments.protected PStmtKey
Creates a PStmtKey for the given arguments.protected PStmtKey
Creates a PStmtKey for the given arguments.protected PStmtKey
PoolingConnection.createKey
(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Creates a PStmtKey for the given arguments.protected PStmtKey
PoolingConnection.createKey
(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, PoolingConnection.StatementType statementType) Creates a PStmtKey for the given arguments.protected PStmtKey
PoolingConnection.createKey
(String sql, int resultSetType, int resultSetConcurrency, PoolingConnection.StatementType statementType) Creates a PStmtKey for the given arguments.protected PStmtKey
Creates a PStmtKey for the given arguments.protected PStmtKey
PoolingConnection.createKey
(String sql, PoolingConnection.StatementType statementType) Creates a PStmtKey for the given arguments.Modifier and TypeMethodDescriptionPoolingConnection.getStatementPool()
Gets the prepared statement pool.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.PoolingConnection.makeObject
(PStmtKey key) KeyedPooledObjectFactory
method for creatingPoolablePreparedStatement
s orPoolableCallableStatement
s.void
PoolingConnection.passivateObject
(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) boolean
PoolingConnection.validateObject
(PStmtKey key, PooledObject<DelegatingPreparedStatement> pooledObject) KeyedPooledObjectFactory
method for validating pooled statements.Modifier and TypeMethodDescriptionvoid
PoolingConnection.setStatementPool
(KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool) Sets the prepared statement pool.ModifierConstructorDescriptionPoolableCallableStatement
(CallableStatement callableStatement, PStmtKey key, KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection) Constructs a new instance.ModifierConstructorDescriptionPoolableCallableStatement
(CallableStatement callableStatement, PStmtKey key, KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection) Constructs a new instance. -
Uses of PStmtKey in org.apache.commons.dbcp2.cpdsadapter
PStmtKey
.