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.
Categories
DatabaseLicense
Eclipse Public License, GNU Library or Lesser General Public License version 2.0 (LGPLv2)Follow c3p0:JDBC DataSources/Resource Pools
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
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.
-
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 ;)