c3p0 is an easy-to-use library for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension.

Note: Current development snapshots are now available on github.

Project Activity

See All Activity >

Categories

Database

License

Eclipse Public License, GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Follow c3p0:JDBC DataSources/Resource Pools

c3p0:JDBC DataSources/Resource Pools Web Site

Other Useful Business Software
Ship AI Apps Faster with Vertex AI Icon
Ship AI Apps Faster with Vertex AI

Go from idea to deployed AI app without managing infrastructure. Vertex AI offers one platform for the entire AI development lifecycle.

Ship AI apps and features faster with Vertex AI—your end-to-end AI platform. Access Gemini 3 and 200+ foundation models, fine-tune for your needs, and deploy with enterprise-grade MLOps. Build chatbots, agents, or custom models. New customers get $300 in free credit.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
21
1
0
1
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • Hey Steve, I am getting a Null Pointer Exception and this error in my stacktrace com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) If you can help me it would be great. I have added these properties : <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property> <property name="c3p0.min_size">5</property> <property name="c3p0.max_size">20</property> <property name="c3p0.timeout">1800</property> <property name="c3p0.max_statements">1000</property> and the jar for c3p0 as well.
  • Good stuff
  • C3p0 works wonderful.
    1 user found this review helpful.
  • java.sql.SQLWarning: 已忽略额外的 URL 元素。 at com.ibm.as400.access.JDError.getSQLWarning(JDError.java:327) at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2757) at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:2734) at com.ibm.as400.access.AS400JDBCDriver.prepareConnection(AS400JDBCDriver.java:807) at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java:698) at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:285) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool 1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073) at com.mchange.v2.resourcepool.BasicResourcePool.access 800(BasicResourcePool.java:44) at com.mchange.v2.resourcepool.BasicResourcePool ScatteredAcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
  • excellent project! we use this in L2J Server since years ;)
Read more reviews >

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Database Software

Registered

2001-04-16