Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Apache Commons DBCP

Welcome to the DBCP component of the Apache Commons
project (

DBCP now comes in two different versions, one to support JDBC 3
and one to support JDBC 4.  Here is how it works:
DBCP 1.4 compiles and runs under JDK 1.6 only (JDBC 4)
DBCP 1.3 compiles and runs under JDK 1.4-1.5 only (JDBC 3)

DBCP 1.4 binaries should be used by applications running under JDK 1.6
DBCP 1.3 should be used when running under JDK 1.4 or 1.5.

There is no difference in the codebase supporting these two
versions, other than that the code implementing methods added
to support JDBC 4 has been filtered out of the DBCP 1.3 sources.
Both versions can be built using either Ant or Maven (version 2).
To build DBCP using Maven, type "mvn package" at a command line prompt
from the top-level directory of the source distribution (the directory
that contains the file named pom.xml).   

DBCP can also be built using Ant from the build.xml file. 
Locations of dependent jars for the Ant build need to be specified in There is a file included in the
source distribution.

See for additional and 
up-to-date information on Commons DBCP.

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.