Top "Apache-commons-dbcp" questions

Apache-commons-dbcp provides an efficient implementation of the Database Connection Pool under the Apache license.

How to fix: "No suitable driver found for jdbc:mysql://localhost/dbname" error when using pools?

I am trying to create a connection to my database, when I put test my code using the main method, …

mysql jdbc tomcat7 apache-commons-dbcp
Connection pooling options with JDBC: DBCP vs C3P0

What is the best connection pooling library available for Java/JDBC? I'm considering the 2 main candidates (free / open-source): Apache DBCP …

java jdbc connection-pooling c3p0 apache-commons-dbcp
Spring JDBC connection pool best practices

I have a basic Spring JDBC application with a pretty basic configuration: <bean id="myDataSource" class="org.springframework.jdbc.…

java spring connection-pooling c3p0 apache-commons-dbcp
DBCP - validationQuery for different Databases

I use DBCP pool and I want use testOnBorrow and testOnReturn to test if connection is still valid. Unfortunately I …

java connection-pooling apache-commons-dbcp
how to use (useUnicode=yes characterEncoding=UTF-8 ) with DBCP

I am trying to insert Arabic letter in to mysql database, but it only store "????". I am using DBCP for …

java mysql apache-commons-dbcp
tomcat-dbcp vs commons-dbcp

It seems there is a lot of confusion between these two connection pooling libraries. What I want to know is …

java apache-commons apache-commons-dbcp
Method org.postgresql.jdbc4.Jdbc4Connection.isValid(int) is not yet implemented

I am trying to configure dbcp2 with postgres 9.1 When I run my app, it throws exception: Exception in thread "main" …

postgresql jdbc apache-commons-dbcp
Connection Pool Exception: Cannot get a connection, pool error Timeout waiting for idle object

I am running a web application in Production that recently crashed after it was under some stress. I would guess 100…

hibernate exception tomcat grails apache-commons-dbcp
Using encoded password for the datasource used in spring applicationContext.xml

I want to keep encoded password in my below mentioned springApplicationContext.xml Is there any way to achieve this? presently …

spring hibernate datasource apache-commons-dbcp password-encryption