Created
October 6, 2015 21:21
-
-
Save Xhendor/80e2f0e30a523e741402 to your computer and use it in GitHub Desktop.
Configuracion del C3PO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="hibernate.connection.provider_class">org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider </property> | |
<!-- Configuración del pool de conexiones--> | |
<property name="c3p0.autoCommitOnClose">true</property> | |
<property name="c3p0.acquire_increment">1</property> | |
<property name="c3p0.initialPoolSize">5</property> | |
<property name="c3p0.idle_test_period">100</property><!-- seconds --> | |
<property name="c3p0.max_size">50</property> | |
<property name="c3p0.max_statements">0</property> | |
<property name="c3p0.min_size">5</property> | |
<property name="c3p0.timeout">100</property><!-- seconds --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment