Apache Commons DBCP Maven Dependency

This page gives you a quick reference to get Apache Commons DBCPdependency for Maven or Gradle projects. You can also download the Apache Commons DBCP jar dependency, the link given at the "Download JAR File" section.
Apache Commons DBCP software implements Database Connection Pooling.

Apache Commons DBCP Maven Dependency

Copy below Apache Commons DBCP maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2 -->
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-dbcp2</artifactId>
    <version>2.7.0</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

Apache Commons DBCP Gradle Dependency

Copy below Apache Commons DBCP gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2
compile group: 'org.apache.commons', name: 'commons-dbcp2', version: '2.7.0'

Download JAR File

Check for Latest Release

Reference

Comments