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 creatingConnections.PoolableConnectionMXBean Defines the attributes and methods that will be exposed via JMX forPoolableConnectioninstances. -
Class Summary Class Description AbandonedTrace Tracks db connection usage for recovering and reporting abandoned db connections.BasicDataSource Basic implementation ofjavax.sql.DataSourcethat is configured via JavaBeans properties.BasicDataSourceFactory JNDI object factory that creates an instance ofBasicDataSourcethat has been configured based on theRefAddrvalues of the specifiedReference, which must match the names and data types of theBasicDataSourcebean 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 ADelegatingCallableStatementthat cooperates withPoolingConnectionto implement a pool ofCallableStatements.PoolableConnection A delegating connection that, rather than closing the underlying connection, returns itself to anObjectPoolwhen closed.PoolableConnectionFactory APooledObjectFactorythat createsPoolableConnections.PoolablePreparedStatement<K> ADelegatingPreparedStatementthat cooperates withPoolingConnectionto implement a pool ofPreparedStatements.PoolingConnection ADelegatingConnectionthat poolsPreparedStatements.PoolingDataSource<C extends Connection> PoolingDriver PStmtKey A key uniquely identifyingPreparedStatements.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.