apache-commons-dbcp
What is the best choice for database connection pooling library? (c3p0 problem)
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[详细]
2023-01-26 13:01 分类:问答How to view/monitor live database connections in a database pool?
We use database connection pooling fo开发者_StackOverflow中文版r our java application. It is a web app run under tomcat.[详细]
2023-01-20 06:19 分类:问答Concurrency problem using spring, dbcp and postgres
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\".[详细]
2023-01-15 00:05 分类:问答How to evict or "kill" open connections when these are above a fixed limit (using dbcp w/ oracle)
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[详细]
2023-01-14 22:49 分类:问答Logging in DBCP
I\'m using Apache Commons DBCP. There is a task 开发者_开发百科to track the inner behavior of the DBCP - number of active and idle connections.[详细]
2023-01-13 08:52 分类:问答MaxOpenPreparedStatements limit reached
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.[详细]
2023-01-10 04:21 分类:问答Getting a Connection with DBCP via the Sybase Jconnect JDBC driver
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\".[详细]
2023-01-06 06:56 分类:问答Auto Reconnect of Database Connection
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[详细]
2022-12-25 07:34 分类:问答OSGI & Apache Commons-DBCP Classloading Issue
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[详细]
2022-12-24 21:56 分类:问答How to configure MySQL connection properties with Spring, Hibernate 3.3 and c3p0?
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[详细]
2022-12-24 14:15 分类:问答