c3p0 « Database « Spring Q&A





1. jdbcTemplate hangs on long update    stackoverflow.com

I recently switched to Spring Framework instead of manually handling JDBC, and it is mostly a good transition. One program started having strange problems, though: if the database is slow, when ...

2. How to log JDBC connection info on org.springframework.jdbc.CannotGetJdbcConnectionException    stackoverflow.com

I'm working on an application which uses the Spring framework in combination with Ibatis and a C3P0 Connection pool. The system connects to about 12 seperate databases. When one of the databases ...

3. Using c3p0 connection Pooling in a tomcat Spring based App    stackoverflow.com

I have a Spring Based Web App running under tomcat 6. Now, I want to use c3p0 connection pooling instead of tomcat's default dbcp. So, from the c3p0 help ...

4. c3p0 useScatteredAquireTask Spring Bean    stackoverflow.com

Hello I wan't to know how can I set up a bean so that it sets the ScatteredAquireTask to "True". I've been trying:

<bean id="c3p0Props" class="com.mchange.v2.resourcepool.BasicResourcePool.ScatteredAcquireTask" >
<property name="USE_SCATTTERED_ACQUIRE_TASK" value="true" />
</bean>
I also tried ...

5. Database Connections Aren't Closing    stackoverflow.com

I'm using spring 3.0 (jdbcTemplate), Tomcat, MySQL and C3p0 to handle my database activities. I'm using both jdbctemplate and simplejdbctemplate which will take care of creating and closing connections, statements, ...

6. SpringDM + eclipseLink + c3p0    forum.springsource.org

SpringDM + eclipseLink + c3p0 Hi all, I'm trying to use springDM the first time. I set up my application first without springDM and I got the data from the db ...

7. Design question, c3p0 and more..    forum.springsource.org

Design question, c3p0 and more.. Hi. I'm planning an enterprise application, based on Tomcat, Spring and Hibernate whos core functionality would be this: A main database (with Spring-Hibernate access layer) store ...

8. c3p0 ConnectionPool Error?    forum.springsource.org

c3p0 ConnectionPool Error? I am using the c3p0 ComboPooledDataSource as a Spring configured DataSource for Beans. With a unkown userid/passwd i get the following Error Stack repeatingly until i kill the ...

9. c3p0 properties.    forum.springsource.org

c3p0 properties. Hi, I've started using c3p0 for connection pooling recently. I copied and pasted the following properties from an example and every thing worked fine. 5 100





10. How to config c3p0 datasource in spring?    forum.springsource.org

How to config c3p0 datasource in spring? Hi everyone: I use DBCP as my spring datasource before,but it seems that it has some bugs.So I want to change the datasource from ...

11. Configuring C3P0 Datasource    forum.springsource.org

Configuring C3P0 Datasource Hi. [c3p0 0.9.0 / Spring 1.1.5] I've tried to configure c3p0 as a datasource using the ComboPooledDataSource class, but some how my properties won't bite: Code:

12. C3P0 - someone help me !!    forum.springsource.org

C3P0 - someone help me !! How the %^&^^ is this supposed to work with straight JDBC. (are the any examples floating around) I've setup my application pretty much the same ...

13. C3P0 exception.... very strange!!!!    forum.springsource.org

Nov 29th, 2005, 03:25 PM #1 gabby View Profile View Forum Posts Private Message Junior Member Join Date Oct 2005 Posts 18 C3P0 exception.... very strange!!!! I have used C3P0 for ...

14. Problem with c3p0 Logging    forum.springsource.org

Hi, im using c3p0 in my Spring-Application. Everytime c3p0 is initializing following message is printed to System.err: "Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1541147 ...". I found in the c3p0 documentation that the Fallback ...

15. Problems configuring C3P0 via DataSource    forum.springsource.org

Problems configuring C3P0 via DataSource I'm having trouble configuring C3P0 as a datasource. I am configuring it as a separate data source bean and passing that into my session factory. The ...

16. C3P0 ThreadPoolAsynchronousRunner not exiting    forum.springsource.org





17. Setting SetBigStringTryClob with c3p0 + iBatis    forum.springsource.org

I need to use SetBigStringTryClob=true for my oracle driver connection settings but i am not sure what does that go. I am using c3p0 pooling and iBatis. Any ideas?

18. Problem with c3p0    forum.springsource.org

Problem with c3p0 Hi, I am using springframework with hibernate and c3p0 connection pool. I also use spring transaction api. The probem is that when application is idle for a long ...

19. How to load c3p0 connection on spring startup?    forum.springsource.org

I'm using c3p0 for connection pooling and Spring JDBC support. When my application startup, c3p0 doesn't initializes the connection pool. c3p0 starts making the pool on the first use of JDBC. ...

20. spring, mysql, java application, c3p0, com.mysql.jdbc.CommunicationsException    forum.springsource.org

Jul 24th, 2007, 03:15 AM #1 calvin.wu View Profile View Forum Posts Private Message Junior Member Join Date Jul 2007 Posts 4 spring, mysql, java application, c3p0, com.mysql.jdbc.CommunicationsException hi, everyone, I ...

21. Error:configure c3p0 under spring!    forum.springsource.org

Aug 6th, 2007, 03:33 AM #1 EdwardKing View Profile View Forum Posts Private Message Member Join Date Jun 2007 Posts 36 Error:configure c3p0 under spring! I want to use c3p0 in ...

22. Problem due to C3P0 datasource during server startup    forum.springsource.org

Oct 2nd, 2007, 11:15 AM #1 pankitshah1982@yahoo.com View Profile View Forum Posts Private Message Junior Member Join Date Oct 2007 Posts 1 Problem due to C3P0 datasource during server startup Hi, ...

23. c3p0 vs. dbcp    forum.springsource.org

c3p0 vs. dbcp Hello, Does anyone have any experience with either c3p0 vs. dbcp and know the pros and cons of each? The information that I've been able to find on ...

24. c3p0 and poolsize problem    forum.springsource.org

c3p0 and poolsize problem Hi, I'm using hibernate-2.18 and spring-1.2.8 This is my datasource configuration Code:

25. C3P0 pool connexion problem    forum.springsource.org

C3P0 pool connexion problem helloo Im trying to use C3P0 conenxion pool, I get the exception below: I used the sqlserver driver with the default datasource without any problem.. Code: Caused ...

26. LocalDataSourceConnectionProvider not releasing c3p0 connection?    forum.springsource.org

LocalDataSourceConnectionProvider not releasing c3p0 connection? I use org.springframework.orm.hibernate3.LocalSessionFac toryBean with a com.mchange.v2.c3p0.ComboPooledDataSource dataSource in JBoss. The db connections were not released, I debugged by setting c3p0 unreturnedConnection params - this forces ...

27. c3p0 config    forum.springsource.org

28. does c3p0 include the connector/j?    forum.springsource.org

if i'm using c3p0 i don't need to put the mysql connector/j in tomcat's lib folder right? because c3p0 includes its own? is this okay with mysql 5.0?

29. Spring Doesn't Stop C3P0 Threads when Undeployed    forum.springsource.org

I have a problem with a webapp that uses Spring 2.0.7 and C3P0. The webapp works fine, until I undeploy it. After the webapp is undeployed I start to see this ...

30. Database reconnect using C3P0    forum.springsource.org

Database reconnect using C3P0 I am trying to write a simple program to test reconnection of C3p0 incase of a data failure. Based on the forums, I learnt that this should ...

31. Error while using C3P0 dataSource through JNDI    forum.springsource.org

Error while using C3P0 dataSource through JNDI Hi, We had to move to C3P0 in the production environment our application, hence i started with changing the configurations on my machine to ...

32. connection leak with c3p0 when testing    forum.springsource.org

connection leak with c3p0 when testing I have a particular situation that requires all data to be written to the DB during junit testing. I've been using the AbstractTransactionalDataSourceSpringContextTests but without ...

33. c3p0 native JDBC exceptions    forum.springsource.org

Apr 2nd, 2009, 04:17 AM #1 cecchisandrone View Profile View Forum Posts Private Message Junior Member Join Date Dec 2008 Posts 23 c3p0 native JDBC exceptions Hi all I'm using spring ...

34. problem with c3p0    forum.springsource.org

problem with c3p0 hello, my friend, I encounter a strange problem related to c3p0. my code is : ============================= public class Cp30ConnectionManager { private static Cp30ConnectionManager instance; private ComboPooledDataSource ds; private ...

35. Spring JDBC/C3P0 SQL Server Woes    forum.springsource.org

I am having a problem getting C3P0 (or Apache Basic Datasource) configured to work with SQL server. Does anyone have an example? I am interested in how the URL needs structured. ...

36. C3P0 Master-Slave Connection Pooling?    forum.springsource.org

C3P0 Master-Slave Connection Pooling? Does anyone know of a C3P0 customization that supports pointing to a pair of databases (primary/backup or master/slave), and the ability to switch back and forth depending ...

37. Sql Logging with c3p0    forum.springsource.org

Sql Logging with c3p0 Hi, I am using c3p0 for connection pooling with tomcat I use Spring BlazeDS with Hibernate. Initially I used org.springframework.jdbc.datasource.DriverManagerD ataSource as Datasource class And had configured ...

38. c3p0 in spring 1 datasource but in jmx 2 datapools    forum.springsource.org

hi, I had configure c3p0 as my data source in spring app. and everything ok, but seem like when i checking the MBean through jconsole, i had found 2 datapools instead ...

39. c3p0 connection hanging    forum.springsource.org

c3p0 connection hanging Hi there, I have a application where there are possibilities of a DB query getting rejected because of LOCK on the table row. My application uses Spring with ...

40. How to configure jasypt+c3p0 with spring?    forum.springsource.org

I have used c3p0 to configure spring database url and password in .properties file, now I want to use jasypt+c3p0 to configure spring, but I don't know how to do it, ...

41. c3p0 connection management problems    forum.springsource.org

c3p0 connection management problems Hi, I'm using Spring 3.0.2, Hibernate 3.5.0 and c3p0 0.9.1.2 and I'm having a ton of errors when it comes down to retrieving connections and commiting transactions. ...

42. Spring auto closed with c3p0 exceptions    forum.springsource.org

Sep 4th, 2010, 11:58 AM #1 cesia View Profile View Forum Posts Private Message Junior Member Join Date Dec 2007 Posts 5 Spring auto closed with c3p0 exceptions Hi, I'm using ...

43. Spring, C3P0 and Karaf issue    forum.springsource.org

Spring, C3P0 and Karaf issue All, I'm deploying a bundle into Karaf 2.0.0 that makes use of Spring and C3P0 (the com.springsource version of C3P0), and I'm getting the following error: ...

44. Springsource's C3P0 bundle is broken    forum.springsource.org

The C3P0 bundle that Springsource provided is unable to dynamically-import drivers. I suggest it be re-bundled with DynamicImport-Package set properly, then tested with a few JDBC drivers to ensure it works. ...

45. connection pooling with c3p0    forum.springsource.org

connection pooling with c3p0 hi all... i have a spring web service. pretty basic. all it does is execute a query, then returns a result. i'm using this config for my ...