<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
<property name="driverClass" value="com.mysql.jdbc.Driver"/>
<property name="jdbcUrl" value="jdbc:mysql://192.168.0.xx/xx?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true"/>
<property name="user" value="xx"/>
<property name="password" value="xx"/>
<property name="initialPoolSize" value="60" />
<property name="minPoolSize" value="50" />
<property name="maxPoolSize" value="100" />
<property name="maxIdleTime" value="7200" />
<property name="idleConnectionTestPeriod" value="360" />
<property name="preferredTestQuery" value="select 1" />
<property name="acquireIncrement" value="5" />
<property name="acquireRetryAttempts" value="50" />
<property name="acquireRetryDelay" value="1000" />
<property name="breakAfterAcquireFailure" value="true" />
<property name="checkoutTimeout" value="1000" />
<property name="autoCommitOnClose" value="false" />
<property name="forceIgnoreUnresolvedTransactions" value="false" />
<property name="unreturnedConnectionTimeout" value="1000" />
<property name="maxStatements" value="0" />
<property name="maxStatementsPerConnection" value="0" />
<property name="testConnectionOnCheckin" value="true" />
<property name="testConnectionOnCheckout" value="false" />
<property name="usesTraditionalReflectiveProxies" value="false" />
<property name="numHelperThreads" value="5" />
</bean>