<c3p0-config>
  <timeout-config>
  	<!-- time out query DB (s) -->
  	<property name="queryDbTimeout">60</property>
  	<!-- thoi gian toi da khi thuc hien ham DB (ms) -->
  	<property name="timeBreak">90000</property>
  	<!-- thoi gian toi da khi thuc hien xoa record time out (ms) -->
  	<property name="timeBreakDeleteRecordTimeOut">120000</property>
  </timeout-config>
  <named-config name="dbProcess">
	<property name="driver">oracle.jdbc.driver.OracleDriver</property>
	
<property name="connection">jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=yes)(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1539))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1539))
(CONNECT_DATA=(FAILOVER_MODE=(TYPE=select)(METHOD=basic)(RETRIES=180)(DELAY=5))(SERVICE_NAME=ORA12C)))</property> 
<property name="username">sicbo</property>
	<property name="password">qwK99QfuhEmcFE</property>
	<!-- <property name="connection">jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=yes)(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))
(CONNECT_DATA=(FAILOVER_MODE=(TYPE=select)(METHOD=basic)(RETRIES=180)(DELAY=5))(SERVICE_NAME=vascp)))</property>
	<property name="username">hobby_hub</property>
	<property name="password">M90$hsd4575</property> -->

    <property name="initialPoolSize">5</property>   
	<property name="maxPoolSize">30</property>
	<property name="minPoolSize">10</property>
	<!-- cau hinh timeout & check ket noi-->
	<property name="readTimeout">120000</property><!-- milisecond-->
	<property name="maxIdleTime">300</property><!-- second-->
	<property name="checkoutTimeout">60000</property> <!-- milisecond-->
	<property name="idleConnectionTestPeriod">30</property><!-- second-->
	<property name="preferredTestQuery">select 1 from dual</property>
	<property name="testConnectionOnCheckin">true</property>
	<property name="testConnectionOnCheckout">true</property>
  </named-config> 
</c3p0-config>