I have heavy loaded java application using hirbernate. And I used to use as connection pool DBCP, but it had problems with connections lossing. Than I switched to c3p0. But now it sometimes bloks thre
We use database connection pooling fo开发者_StackOverflow中文版r our java application. It is a web app run under tomcat.
The software stack I\'m using is: tomcat->spring-> hibernate-> DBCP -> postgreSQL I have a query that search for some data using a column of type \"timestamp without time zone\".
Does anyone know how to evict or kill open connections (in use or 开发者_如何学JAVAnot it doesn\'t matter) if the number of connections is above of a fixed limit (e.g. maxActive) Currently I\'m using
I\'m using Apache Commons DBCP. There is a task 开发者_开发百科to track the inner behavior of the DBCP - number of active and idle connections.
I get this exception only for SOME database update in my code after several days of application running. Some of the requests passed, and some of them (the same java code) fail.
I am trying to get a Connection in the following code and I keep getting an SQLException with the message \"Login failed\" and with the details \"Specified database not found\".
I have a DBCP connectio开发者_运维知识库n pool in Tomcat. The problem is that when the connection is lost briefly the appliction is broken because DBCP won\'t try to reconnect again later when there i
I inherited some code that is using the Apache commons-dbcp Connection pools in an OSGi bundle. This code works fine with Eclipse/Equinox OSGi version 3.4.3 (R34x_v20081215), commons-dbcp 1.2.2 and th
I am currently in the process of upgrading an application from Hibernate 3.2 to Hibernate 3.3.I though I\'d stick with the default connection pool (Hibernate changed its default from Commons DBCP to c