c3p0 is a mature, highly concurrent JDBC Connection pooling library, with
support for caching and reuse of PreparedStatement
objects.
c3p0 is available as managed dependency on Maven Central,
[groupId: com.mchange, artifactId: c3p0]
For available versions, look here.
Please see the documentation for more.
From the current development snapshot, here is the latest CHANGELOG.
Please address comments and questions to the library author, although keep in mind he is an abysmal correspondent and basically an asshole.
Despite that, your feedback is very much appreciated. Pull requests are gratefully accepted. You may also open issues.
Thank you for your interest in c3p0. I do hope that you find it useful!
c3p0 relies on the excellent build tool mill
.
Install mill
. Then, within this repository direcory, run
$ mill jar
You'll find the raw as library out/jar.dest/out.jar
.
If you maintain a local ivy repository, You can customize publishVersion
in build.sc
, then run
$ mill publishLocal
For now (v0.10.x), c3p0 is built under a Java 11 VM, targetting JDK 7 classfiles for continued compatibility with legacy apps.
c3p0 is licensed under LGPL v.2.1 or EPL v.1.0, at your option.
Note: c3p0 has had a good experience with reporting of a security vulnerability via Sonatype's Central Security Project. If you find a c3p0 security issue, do consider reporting it via https://hackerone.com/central-security-project