Module org.datanucleus.store.rdbms
Package org.datanucleus.store.rdbms.datasource.dbcp2
This is a repackaged Apache Commons DBCP v2.7.0 and Apache Commons Pool v2.8.0.
We have omitted the packages "org/apache/commons/dbcp2/managed" and "org/apache/commons/pool2/proxy" since they are not needed and pull in other dependencies.
We have changed the Apache Commons logging to use NucleusLogger.CONNECTION instead.
Note that there is a file under "src/main/resources/org/datanucleus/store/rdbms/datasource/dbcp2" also.
-
Interface Summary Interface Description BasicDataSourceMXBean Defines the methods that will be made available via JMX.ConnectionFactory Abstract factory interface for creatingConnection
s.PoolableConnectionMXBean Defines the attributes and methods that will be exposed via JMX forPoolableConnection
instances. -
Class Summary Class Description AbandonedTrace Tracks db connection usage for recovering and reporting abandoned db connections.BasicDataSource Basic implementation ofjavax.sql.DataSource
that is configured via JavaBeans properties.BasicDataSourceFactory JNDI object factory that creates an instance ofBasicDataSource
that has been configured based on theRefAddr
values of the specifiedReference
, which must match the names and data types of theBasicDataSource
bean properties with the following exceptions:Constants Constants for use with JMX.DataSourceConnectionFactory ADataSource
-based implementation ofConnectionFactory
.DelegatingCallableStatement A base delegating implementation ofCallableStatement
.DelegatingConnection<C extends Connection> A base delegating implementation ofConnection
.DelegatingDatabaseMetaData A base delegating implementation ofDatabaseMetaData
.DelegatingPreparedStatement A base delegating implementation ofPreparedStatement
.DelegatingResultSet A base delegating implementation ofResultSet
.DelegatingStatement A base delegating implementation ofStatement
.DriverConnectionFactory ADriver
-based implementation ofConnectionFactory
.DriverManagerConnectionFactory ADriverManager
-based implementation ofConnectionFactory
.Jdbc41Bridge Defines bridge methods to JDBC 4.1 (Java 7) methods to allow call sites to operate safely (withoutAbstractMethodError
) when using a JDBC driver written for JDBC 4.0 (Java 6).PoolableCallableStatement ADelegatingCallableStatement
that cooperates withPoolingConnection
to implement a pool ofCallableStatement
s.PoolableConnection A delegating connection that, rather than closing the underlying connection, returns itself to anObjectPool
when closed.PoolableConnectionFactory APooledObjectFactory
that createsPoolableConnection
s.PoolablePreparedStatement<K> ADelegatingPreparedStatement
that cooperates withPoolingConnection
to implement a pool ofPreparedStatement
s.PoolingConnection ADelegatingConnection
that poolsPreparedStatement
s.PoolingDataSource<C extends Connection> PoolingDriver PStmtKey A key uniquely identifyingPreparedStatement
s.SwallowedExceptionLogger Class for logging swallowed exceptions.Utils Utility methods. -
Enum Summary Enum Description PoolingConnection.StatementType Statement types. -
Exception Summary Exception Description ListException An exception wrapping a list of exceptions.SQLExceptionList A SQLException based on a list of Throwable causes.