c3p0 Questions
6
Does anybody have experience with using Oracle UCP under real production load?
Does it handle database reconnects well?
Are there any multi-threading issues?
Has anybody compared it with C3P0 or Ap...
Portentous asked 11/3, 2010 at 8:29
1
The parameter unreturnedConnectionTimeout times out unreturned connections after a given period of time. I'm trying to decide whether I should use this in my production persistence.xml? A big plus ...
Thomasson asked 13/4, 2015 at 20:33
1
Solved
I am using Hibernate and I have configured some c3p0 properties in its config as specified in one of the hibernate documentation. Sample configuration looks like :
<property name="hibernate.c3p...
Nitrite asked 14/2, 2015 at 18:38
4
Solved
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.
C3P0 development...
Byelorussian asked 12/4, 2011 at 18:52
4
Solved
Following is my helper class to get DB connection:
I've used the C3P0 connection pooling as described here.
public class DBConnection {
private static DataSource dataSource;
private static fin...
Noctambulous asked 22/9, 2009 at 7:55
2
I have an app that uses hibernate (v3.6.4) , with connection pooling provided by C3P0 (v0.9.1.2) .
The problem is I get a JDBC communications link failure if I make a DB query , if the app proces...
0
I am trying to setup a multi-tenant application with a separate schema approach.
I am using JPA with Hibernate 4 implementation.
Like said @ben75 in this very usefull thread, there many way to ma...
Humbertohumble asked 17/11, 2014 at 8:48
5
Solved
I have a very strange problem, got it when I upgraded som deps to the project.
I'm now using following versions:
Spring: 3.1.0.RELEASE
Hibernate: 4.1.7.Final
Hsqldb: 2.2.8 (org.hsqldb)
I THIN...
2
Solved
my hibernate.cfg.xml
<property name="connection.driver_class">org.postgresql.Driver</property>
<property name="show_sql">true</property>
<property name="connection.url...
4
I uploaded my war file on my server it works perfectly after deploy but after some time it shows exception.
I am using struts2 and hibernate
my hibernate.cfg.xml is
<session-factory>
<p...
Spurge asked 19/8, 2014 at 10:31
2
Solved
I have a Using c3p0 0.9.1.2 , hibernate 3.2.1.ga and spring 2.5.5. The problem is the database connection doesn't close itself. Here are the logs :
[22 mars 2012 12:29:56,091] DEBUG com.mchange....
Firer asked 22/3, 2012 at 15:0
2
Solved
I am having an Spring MVC + Mysql (JDBC 4) + c3p0 0.9.2 project.
In c3p0 maxIdleTime value is 240 (i.e 4 mins.) and wait_timeout in my.ini of Mysql to 30 seconds.
According to c3p0
maxIdleTime...
Swick asked 4/7, 2014 at 0:54
0
I develop an web application using Spring MVC + MySQL. To manage JDBC connection I used c3p0 for connection pooling.
If I am using c3p0, What I suppose if, 5 connections are open in pool and all ...
Banlieue asked 27/6, 2014 at 11:59
2
I recently upgraded the version of my Hibernate to 4.3.4.Final. Based on Contextual Sessions configuration of Hibernate this new version is not based on ThreadLocal anymore. If what I have got so f...
Floozy asked 14/5, 2014 at 5:35
2
Solved
Recently, my tomcat started hanging up. The requests were never replied. I figured out that it was due to connections never being returned to the connection pool.
I have used c3p0 with hibernate a...
People asked 12/10, 2013 at 18:21
2
Solved
I'm stumbled upon a problem while developing a Web Application based on Struts2 with Spring and Hibernate.
When I refresh the site a few times, for example 2-4 times, Hibernate is showing up an ex...
Absorbent asked 12/6, 2013 at 9:51
1
Solved
I can't wrap my head around why the initialization of a c3p0 connection pool takes 2 min in my Hibernate application.
This is in my Hibernate.cfg.xml:
<hibernate-configuration>
<session...
5
Solved
According to the c3p0 documentation, you can manually specify where logs should go, whether through JDK 1.4 logging, Log4j, or through System.out. I'm running SLF4J, so I've included org.slf4j.jul-...
Mignonne asked 28/7, 2011 at 0:36
2
Solved
I can't seem to get hibernate to use c3p0 for connection pooling, it says
12:30:35,038 INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!)
...
Thinner asked 14/1, 2010 at 21:1
2
Solved
I am using hibernate in my project and I am getting random Apparent Deadlocks for very simple database operations.
There is one of the Stack Traces: https://gist.github.com/knyttl/8999006 – What c...
1
we have a spring project where we use
Spring + Spring Data + Hibernate + c3p0
Everything worked fine till few last versions. We started to see a lot of
INFO GooGooStatementCache:441 in our log....
Skidmore asked 5/2, 2014 at 10:24
2
Solved
I'm trying to setup a multi-tenant web application, with (ideally) possibility for both Database-separated and Schema-separated approach at the same time. Although I'm going to start with Schema se...
Hyperparathyroidism asked 19/1, 2014 at 23:9
1
I'm getting the following warning:
15:41:51,043 WARN [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-1) HHH000022: c3p0 properties were encounte...
2
Solved
I recently started using hibernate along with c3p0 as the ORM in my application. However, when I close the session factory, the connection pool does not close itself! This is the one and only place...
1
Solved
I am using Hibernate with c3p0 for connection pooling. Since I am working in a multisharded database environment and the possibility of shards' downtime is a realistic use case scenario (by means e...
© 2022 - 2024 — McMap. All rights reserved.