Home » commons-dbcp-1.2.2-src » org.apache.commons » dbcp »

org.apache.commons.dbcp

Sub Packages:

org.apache.commons.dbcp.cpdsadapter   This package contains one public class which is a ConnectionPoolDataSource (CPDS) implementation that can be used to adapt older Driver based jdbc implementations.  
org.apache.commons.dbcp.datasources   This package contains two DataSources: PerUserPoolDataSource and SharedPoolDataSource which provide a database connection pool.  

Interfaces:

ConnectionFactory   Abstract factory interface for creating java.sql.Connection s.  code | html

Abstract Classes:

TestConnectionPool   Base test suite for DBCP pools.  code | html

Classes:

AbandonedConfig   Configuration settings for handling abandoned db connections.  code | html
AbandonedObjectPool  

An implementation of a Jakarta-Commons ObjectPool which tracks JDBC connections and can recover abandoned db connections. 

code | html
AbandonedTrace   Tracks db connection usage for recovering and reporting abandoned db connections.  code | html
BasicDataSource  

Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. 

code | html
BasicDataSourceFactory  

JNDI object factory that creates an instance of BasicDataSource that has been configured based on the RefAddr values of the specified Reference, which must match the names and data types of the BasicDataSource bean properties.

 
code | html
DataSourceConnectionFactory   A DataSource -based implementation of ConnectionFactory code | html
DbcpException  

Subclass of RuntimeException that can be used to wrap a SQLException using the "root cause" pattern of JDK 1.4 exceptions, but without requiring a 1.4 runtime environment.

 
code | html
DelegatingCallableStatement   A base delegating implementation of CallableStatement code | html
DelegatingConnection   A base delegating implementation of Connection code | html
DelegatingPreparedStatement   A base delegating implementation of PreparedStatement code | html
DelegatingResultSet   A base delegating implementation of ResultSet code | html
DelegatingStatement   A base delegating implementation of Statement code | html
DriverConnectionFactory   A Driver -based implementation of ConnectionFactory code | html
DriverManagerConnectionFactory   A DriverManager -based implementation of ConnectionFactory code | html
PoolableConnection   A delegating connection that, rather than closing the underlying connection, returns itself to an ObjectPool when closed.  code | html
PoolableConnectionFactory   A PoolableObjectFactory that creates PoolableConnection s.  code | html
PoolablePreparedStatement   A DelegatingPreparedStatement that cooperates with PoolingConnection to implement a pool of PreparedStatement s.  code | html
PooledTestObject     code | html
PoolingConnection   A DelegatingConnection that pools PreparedStatement s.  code | html
PoolingConnection.PStmtKey   A key uniquely identifiying PreparedStatement s.  code | html
PoolingDataSource   A simple DataSource implementation that obtains Connection s from the specified ObjectPool code | html
PoolingDataSource.PoolGuardConnectionWrapper   PoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore.  code | html
PoolingDriver   A Driver implementation that obtains Connection s from a registered ObjectPool code | html
PoolingDriver.PoolGuardConnectionWrapper   PoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore.  code | html
SQLNestedException   A SQLException subclass containing another Throwable  code | html
TestAbandonedObjectPool.ConcurrentBorrower     code | html
TestAbandonedObjectPool.SimpleFactory     code | html
TestConnectionPool.TestThread     code | html
TesterConnection   A dummy Connection , for testing purposes.  code | html
TesterDriver   Mock object implementing the java.sql.Driver interface.  code | html
TesterPreparedStatement   A dummy PreparedStatement , for testing purposes.  code | html
TesterResultSet   A dummy ResultSet , for testing purposes.  code | html
TesterStatement   A dummy Statement , for testing purposes.  code | html

All Test Cases:

TestConnectionPool   Base test suite for DBCP pools.  code | html
TestAbandonedBasicDataSource   TestSuite for BasicDataSource with abandoned connection trace enabled  code | html
TestAbandonedObjectPool   TestCase for AbandonedObjectPool  code | html
TestAll     code | html
TestBasicDataSource   TestSuite for BasicDataSource  code | html
TestBasicDataSourceFactory   TestSuite for BasicDataSourceFactory  code | html
TestDelegatingConnection     code | html
TestDelegatingPreparedStatement     code | html
TestDelegatingStatement     code | html
TestJOCLed     code | html
TestManual   Tests for a "manually configured", GenericObjectPool based PoolingDriver code | html
TestOracleBasicDataSource   TestSuite for BasicDataSource  code | html
TestPStmtPoolingBasicDataSource   TestSuite for BasicDataSource with prepared statement pooling enabled  code | html