<!-- 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 --> |