c3p0 2 « Development « JPA Q&A





1. hibernate-c3p0 problem : Communications link failure    forum.hibernate.org

Newbie Joined: Mon Aug 03, 2009 8:39 am Posts: 2 Location: Pune Hi Friends, I am using Hibernate 3, c3p0-0.9.1.2 & mysql 5.0.45. I am getting classic hibernate-c3p0 problem, Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Broken pipe I have already read the messages from https://www.hibernate.org/214.html http://forums.mysql.com/read.php?39,16257,146731#msg-146731 but still facing the same problem. I ...

2. C3P0 - Not used by Hibernate although present in config file    forum.hibernate.org

Hi, I am using Eclipse 3.5 together with Hibernate 3.3.2 and c3p0 0.9.1 together with javadb 10.5.1.1 on Mac OS X 10.5.8. I wanted to start using the c3p0 connection pooling and read in the user manual that Hibernate should automatically use it when specifying c3p0 properties in the configuration file. However, even though I did just that I still get ...

3. How work Hibernate with C3P0?    forum.hibernate.org

4. Not sure if C3PO is working    forum.hibernate.org

Newbie Joined: Thu Aug 20, 2009 4:22 am Posts: 4 Hi, I'm using: Hibernate 3 Spring 2.5.6 c3po-0.9.1 I have c3po configured in my spring-config.xml file : Code: 5 10 5 300 1 300 1) The below error happen every next morning and can be solved by restarting the web server everyday. Please help to resolve. Any suggestion on configuring the properties and value? Caused by: java.sql.SQLException: ...

6. hibernate.c3p0.xxx vs c3p0.xxx    forum.hibernate.org

I got to the bottom of this and C3P0 is working, but now it is complaining that hibernate.c3p0.xx and c3p0.xx are both set. I've only set c3p0.xx in my hibernate.cfg.xml file How could this be seeing both? Quote: 08:02 WARN [main] connection.C3P0ConnectionProvider - Both hibernate-style property 'hibernate.c3p0.idleTestPeriod' and c3p0-style property 'c3p0.idleTestPeriod' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.idleTestPeriod' will be ...

7. NullPointerException Using C3P0 with Hibernate on Jetty    forum.hibernate.org

I am using the following: Hibernate 3.2.6 C3P0 0.9.1.2 Jetty 6.1.11 OJDBC 6 (hitting an Oracle database) When I deploy my web application to Jetty, I get the following: Code: 17 Sep 2009 16:31:21,765: INFO com.mchange.v2.c3p0.C3P0Registry.banner - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] 17 Sep 2009 16:31:21,781: DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.reinitialize - MBean: com.mchange.v2.c3p0:type=PooledDataSource[2sa1mf831jyqtyw1wehs7c|50988] registered. 17 Sep 2009 16:31:21,843: ...