I have a question related to hibernate connention managing/pooling.
If I write sessionFactory.openSession()
, will hibernate create a fresh, new JDBC connection?
My C3PO properties look like this:
<property name="hibernate.c3p0.acquire_increment">1</property>
<property name="hibernate.c3p0.min_size">0</property>
<property name="hibernate.c3p0.max_size">10</property>