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.  [ 2 posts ] 
Author Message
 Post subject: Default connection pooling
PostPosted: Fri Nov 19, 2004 2:51 pm 
Beginner
Beginner

Joined: Tue Nov 02, 2004 1:34 pm
Posts: 45
Our team develops on Tomcat and deploys on Websphere.

I see in the eBook that the default connection pooling is only suitable for development.

Is this the pooling turned on by the following?
hibernate.connection.pool_size 1
hibernate.statement_cache.size 25

The book reccommends C3P0 pooling:
1. can we use this pooling for development on Tomcat an in production on Websphere?
2. Is it advisable to use it on websphere?
3. Do the C3P0 libararies come with hibernate, or do they need to be downloaded and configured separately?

Lee


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 19, 2004 3:08 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
If you deploy in a managed environment (an application server) you should always use a Datasource.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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