Package | Description |
---|---|
org.datanucleus.store.rdbms.datasource.dbcp2 |
This is a repackaged Apache Commons DBCP v2.1.1 and Apache Commons Pool v2.4.2.
|
org.datanucleus.store.rdbms.datasource.dbcp2.cpdsadapter |
This is a repackaged Apache Commons DBCP v2.1.1 and Apache Commons Pool v2.4.2.
|
Modifier and Type | Method and Description |
---|---|
protected PStmtKey |
PoolingConnection.createKey(String sql)
Create a PStmtKey for the given arguments.
|
protected PStmtKey |
PoolingConnection.createKey(String sql,
int autoGeneratedKeys) |
protected PStmtKey |
PoolingConnection.createKey(String sql,
int resultSetType,
int resultSetConcurrency)
Create a PStmtKey for the given arguments.
|
protected PStmtKey |
PoolingConnection.createKey(String sql,
int resultSetType,
int resultSetConcurrency,
PoolingConnection.StatementType stmtType)
Create a PStmtKey for the given arguments.
|
protected PStmtKey |
PoolingConnection.createKey(String sql,
PoolingConnection.StatementType stmtType)
Create a PStmtKey for the given arguments.
|
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. |
PooledObject<DelegatingPreparedStatement> |
PoolingConnection.makeObject(PStmtKey key)
KeyedPooledObjectFactory method for creating
PoolablePreparedStatement s or PoolableCallableStatement s. |
void |
PoolingConnection.passivateObject(PStmtKey key,
PooledObject<DelegatingPreparedStatement> p)
|
boolean |
PoolingConnection.validateObject(PStmtKey key,
PooledObject<DelegatingPreparedStatement> p)
KeyedPooledObjectFactory method for validating
pooled statements. |
Modifier and Type | Method and Description |
---|---|
void |
PoolingConnection.setStatementPool(KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool) |
Constructor and Description |
---|
PoolableCallableStatement(CallableStatement stmt,
PStmtKey key,
KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool,
DelegatingConnection<Connection> conn)
Constructor.
|
Constructor and Description |
---|
PoolableCallableStatement(CallableStatement stmt,
PStmtKey key,
KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool,
DelegatingConnection<Connection> conn)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
PStmtKeyCPDS
A key uniquely identifying a
PreparedStatement . |
Copyright © 2019. All rights reserved.