-->
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.  [ 3 posts ] 
Author Message
 Post subject: What is the best stable connection pool works with Hibernate
PostPosted: Mon Oct 25, 2004 6:06 am 
Newbie

Joined: Thu Sep 30, 2004 11:41 pm
Posts: 11
I'm using Hibernate with MySQL but dbcp and c3p0 seem not stable. sometime, my site down, it throw a "cannot open connection" exception.
What is the best stable connection pool ? Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 7:46 pm 
Pro
Pro

Joined: Tue Aug 26, 2003 8:07 pm
Posts: 229
Location: Brisbane, Australia
I dunno, but we've been using Proxool with some success for about 12 - 18 months now.

I believe the Hibernate team recommend c3p0 over DBCP.

They're all open source projects, you might find it useful to look at the sourcecode for each of them. They're not that big and you don't have to understand it all anyway.

When we were evaluating connection pools, I just wanted a general feel for the quality of the code (quite subjective to me of course) for each of them.

Without saying bad things about anyone's code (apparently, it's bad form to tell people when their code blows) , Proxool came out a long way in front for me. It has debugging, and decent exception handling code sprinkled throughout. It seemed to me that exception handling particularly was a bit of an afterthought for the other two (especially DBCP).


Anyway, like I said, that was a subjective perception and maybe things have changed since then.

_________________
Cheers,
Shorn.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 26, 2004 3:19 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
go for c3p0 or proxool

also use appserver datasource if you have one

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.