Package org.datanucleus.store.rdbms.datasource.dbcp2
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.
-
ClassDescriptionTracks db connection usage for recovering and reporting abandoned db connections.Basic implementation of
javax.sql.DataSource
that is configured via JavaBeans properties.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:Defines the methods that will be made available via JMX.Abstract factory interface for creatingConnection
s.Constants for use with JMX.ADataSource
-based implementation ofConnectionFactory
.A base delegating implementation ofCallableStatement
.DelegatingConnection<C extends Connection>A base delegating implementation ofConnection
.A base delegating implementation ofDatabaseMetaData
.A base delegating implementation ofPreparedStatement
.A base delegating implementation ofResultSet
.A base delegating implementation ofStatement
.ADriver
-based implementation ofConnectionFactory
.ADriverManager
-based implementation ofConnectionFactory
.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).Exception thrown when a connection's maximum lifetime has been exceeded.An exception wrapping a list of exceptions.Internal wrapper class that allows JMX to be a noop if absent or disabled.ADelegatingCallableStatement
that cooperates withPoolingConnection
to implement a pool ofCallableStatement
s.A delegating connection that, rather than closing the underlying connection, returns itself to anObjectPool
when closed.APooledObjectFactory
that createsPoolableConnection
s.Defines the attributes and methods that will be exposed via JMX forPoolableConnection
instances.ADelegatingPreparedStatement
that cooperates withPoolingConnection
to implement a pool ofPreparedStatement
s.ADelegatingConnection
that poolsPreparedStatement
s.Statement types.PoolingDataSource<C extends Connection>A key uniquely identifyingPreparedStatement
s.Interface for Prepared or Callable Statement.A SQLException based on a list of Throwable causes.Class for logging swallowed exceptions.Utility methods.