Package | Description |
---|---|
org.datanucleus.store.rdbms.datasource.dbcp2 |
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
|
Modifier and Type | Class and Description |
---|---|
class |
PoolableConnection
A delegating connection that, rather than closing the underlying connection, returns itself to an
ObjectPool
when closed. |
class |
PoolingConnection
A
DelegatingConnection that pools PreparedStatement s. |
Modifier and Type | Method and Description |
---|---|
protected DelegatingConnection<?> |
DelegatingStatement.getConnectionInternal() |
Constructor and Description |
---|
DelegatingCallableStatement(DelegatingConnection<?> connection,
CallableStatement statement)
Creates a wrapper for the Statement which traces this Statement to the Connection which created it and the code
which created it.
|
DelegatingDatabaseMetaData(DelegatingConnection<?> connection,
DatabaseMetaData databaseMetaData)
Constructs a new instance for the given delegating connection and database meta data.
|
DelegatingPreparedStatement(DelegatingConnection<?> connection,
PreparedStatement statement)
Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code
which created it.
|
DelegatingStatement(DelegatingConnection<?> connection,
Statement statement)
Create a wrapper for the Statement which traces this Statement to the Connection which created it and the code
which created it.
|
PoolableCallableStatement(CallableStatement callableStatement,
PStmtKey key,
KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool,
DelegatingConnection<Connection> connection)
Constructor.
|
PoolablePreparedStatement(PreparedStatement stmt,
K key,
KeyedObjectPool<K,PoolablePreparedStatement<K>> pool,
DelegatingConnection<?> conn)
Constructor.
|
Copyright © 2020. All rights reserved.