how to set particular value for c3p0's property in hibernate?
<p>I'm using hibernate for my web application and it's working fine. I have set the properties of connection pooling like below.</p>

<pre><code>  &lt;property name="hibernate.c3p0.min_size"&gt;5&lt;/property&gt;
  &lt;property name="hibernate.c3p0.max_size"&gt;20&lt;/property&gt;
  &lt;property name="hibernate.c3p0.timeout"&gt;300&lt;/property&gt;
  &lt;property name="hibernate.c3p0.max_statements"&gt;50&lt;/property&gt;
  &lt;property name="hibernate.c3p0.idle_test_period"&gt;3000&lt;/property&gt;
</code></pre>

<p>I have set <code>min_size = 5, max_size=20, max_statements=50</code> </p>

<p>but it could be <code>min_size=1, max_size=100, max_statements=500</code> </p>

<p>so, at what basis should I set these values? I have read some tutorials
about hibernate connection pooling but didm't get any specific idea
how to set these properties' values</p>