-->
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: [CONFIG] JNDI datasource and pool size
PostPosted: Fri May 04, 2007 12:01 pm 
Newbie

Joined: Fri May 04, 2007 11:53 am
Posts: 2
Location: France
Hibernate version:
3.2


Hi there,

I'm currently using Hibernate on an App deployed on a Jonas 4.8.5 Server.

Database connections are pooled as configured in my datasource properties file. Project is in developement on a single machine, so min and max connection count are both set to 10.

All is working fine, but I have a question though, as you guessed :)

Is it usefull to add a line in my hibernate.cfg.xml saying :

<property name="hibernate.connection.pool_size">10</property>

I'd guess pool size is handled by Jonas as configured, but I cannot be too sure. Thanx for your time, guys :)

_________________
--
Think! It ain't illegal yet


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 2:12 pm 
Regular
Regular

Joined: Wed Nov 17, 2004 11:49 am
Posts: 65
Location: Pittsburgh
No, this is not useful unless hibernate is managing the connection pool.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 3:34 pm 
Newbie

Joined: Fri May 04, 2007 11:53 am
Posts: 2
Location: France
Kerstetter wrote:
No, this is not useful unless hibernate is managing the connection pool.


OK, thanx :)

_________________
--
Think! It ain't illegal yet


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.