-->
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.  [ 1 post ] 
Author Message
 Post subject: c3p0 connection validation
PostPosted: Fri Jun 25, 2004 8:30 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
hi all,
we have a problem in production ;(,
on this project we're using oracle 8i, hibernate 2.1 and c3p0, the db is restarted every night but the webapp is still using "old" connection,we have this in hibernate.cfg.xml:
Code:
      <property name="c3p0.max_size">200</property>
      <property name="c3p0.min_size">5</property>
      <property name="c3p0.idleConnectionTestPeriod">1800</property>
      <property name="c3p0.maxIdleTime">3200</property>


is the line <property name="c3p0.idleConnectionTestPeriod">1800</property> ok?

i know that validate is deprecated,
should i use c3p0.idle_test_period ? i'm lost and can't find the real parameters.


Thanks a lot,

_________________
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.  [ 1 post ] 

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.