Thread:
 my c3p0 configration - plz help!!! 
 simpigill   02 May 2008, 19:15 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: simpigill (02 May 2008, 19:15) Replies: 0, Views: 163
Subject: my c3p0 configration - plz help!!!
<!-- configuration pool via c3p0--> 
		
		<property 
name="hibernate.c3p0.acquire_increment">1</property> 
		<!-- Determines how many connections at a time 
c3p0 will try to acquire when the pool is exhausted. :: default=1 -->
		
		<property 
name="hibernate.c3p0.max_size">10</property> 
		<property 
name="hibernate.c3p0.max_statements">50</property> 
		<property 
name="hibernate.c3p0.min_size">1</property> 
		
		<property 
name="hibernate.c3p0.timeout">60</property> <!-- seconds -->
		<!-- The seconds a Connection can remain pooled 
but unused before being discarded. Zero means idle connections never 
expire.-->
		
		<property 
name="hibernate.c3p0.propertyCycle">2</property>
		<!-- Must be set in c3p0.properties, C3P0 
default: 300  -->
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]