apache-commons-dbcp
DBCP and Hibernate on Spring, doesn't re-open dead connections, why?
I\'m using Hibernate and DBCP to manage mySQL connections, all in a Spring project. Everything is working fine. The only problem is that if the app stays still for a long time, it will throw a an exc[详细]
2023-02-24 19:38 分类:问答Java JDBC connection pool library choice in 2011/2012?
Which JDBC connection pool library should I use for a new application project (not web application)? Apache DBCP has enough unresolved issues which are pushed until 2.0 I think.[详细]
2023-02-24 08:32 分类:问答How to fix: "No suitable driver found for jdbc:mysql://localhost/dbname" error when using pools? [duplicate]
This question already has answers here: The infamous java.sql.SQLException: No suitable driver found (21 answers)[详细]
2023-02-22 12:04 分类:问答How to specify schema for SQL Server in JDBC Spring configuration
We are using the org.apache.commons.dbcp.BasicDataSource as parent class for our datasources in Spring.[详细]
2023-02-21 21:40 分类:问答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.datasource.DriverManagerDataSource\">[详细]
2023-02-13 15:26 分类:问答Why does JNDI return a DataSource with a NULL uri instead of a lookup failure?
I looked for a similar question, but only found similar ones such as Godaddy JNDI Problem---Cannot create JDBC driver of class '' for connect URL 'null' which doesn\'t answer my generi[详细]
2023-02-13 07:47 分类:问答Refresh DataSource using Spring+dbcp
I\'m using Spring with DBCP and need to refresh my datasource when some configuration on operation environment changes, without restart all application.[详细]
2023-02-11 03:51 分类:问答configuring commons DBCP with tomcat 6.0 and java 1.6
I want to use commons DBCP in my web application. I am using java 1.6 and tomcat 6.0 . I really 开发者_运维知识库don\'t know how to configure DBCP as i am going to use it for the first[详细]
2023-02-10 06:08 分类:问答1.4 Commons-DBCP being brought in instead of 1.3
I have a strange situation. In jar A, I explicitly bring in version 1.3 of commons-dbcp. In jar B, I have a dependency on jar A. However, when I bring in the jar A dependency in jar B, my maven depend[详细]
2023-02-06 18:35 分类:问答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 which one is better (if at all)?[详细]
2023-02-04 20:53 分类:问答