-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: What JDBC connector do you use?
PostPosted: Thu Jan 12, 2012 4:01 pm 
Regular
Regular

Joined: Thu Aug 28, 2003 2:42 pm
Posts: 77
Location: The Netherlands
What JDBC connector are you using?

C3P0 was the way to go, but also seem to be dead at the moment.
See for example: http://stackoverflow.com/questions/5640 ... ce-in-2011
Tomcat 7 also complaints about C3P0 not cleaning up his threads very well, leaving memory leaks behind.

So what is the "best" choice?
Maybe BoneCP?

- Ed


Top
 Profile  
 
 Post subject: Re: What JDBC connector do you use?
PostPosted: Fri Jan 13, 2012 9:47 am 
Newbie

Joined: Mon Dec 01, 2008 1:40 pm
Posts: 5
jdbc connector or do you mean jdbc pool (which is what c3p0 is used to be).
Right now i am using the tomcat jdbc pool, works fine.

http://people.apache.org/~fhanik/jdbc-p ... -pool.html

Is also available as maven artifact and does work standalone (without tomcat or any other container).


Top
 Profile  
 
 Post subject: Re: What JDBC connector do you use?
PostPosted: Fri Jan 13, 2012 11:09 am 
Regular
Regular

Joined: Thu Aug 28, 2003 2:42 pm
Posts: 77
Location: The Netherlands
Thanks.
> jdbc connector or do you mean jdbc pool (which is what c3p0 is used to be).
Pool.

How do you use the tomcat pool outside of the tomcat container for unit testing against the db?
I read somewhere on the net that you are locked to Tomcat ?
How about BoneCP?


Top
 Profile  
 
 Post subject: Re: What JDBC connector do you use?
PostPosted: Fri Jan 13, 2012 11:14 am 
Beginner
Beginner

Joined: Wed Nov 21, 2007 10:24 am
Posts: 25
edbras wrote:
Thanks.
> jdbc connector or do you mean jdbc pool (which is what c3p0 is used to be).
Pool.

How do you use the tomcat pool outside of the tomcat container for unit testing against the db?
I read somewhere on the net that you are locked to Tomcat ?
How about BoneCP?

I'm using BoneCP and haven't had any problems so far and it seems to be pretty fast (supposedly much faster than c3p0 and most other poolers).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.