<
data-sources
>
< data-source key ="mysql" type ="org.apache.commons.dbcp.BasicDataSource" >
< set-property property ="autoCommit" value ="true" />
< set-property property ="driverClassName" value ="com.mysql.jdbc.Driver" />
< set-property property ="url" value ="jdbc:mysql://localhost:3306/dbnota?
useUnicode=true&characterEncoding=utf-8" />
< set-property property ="maxActive" value ="200" />
< set-property property ="maxIdel" value ="30" />
< set-property property ="maxWait" value ="10000" />
< set-property property ="autoReconnect" value ="true" />
< set-property property ="username" value ="root" />
< set-property property ="password" value ="chgl" />
< set-property property ="maxCount" value ="10" />
< set-property property ="minCount" value ="1" />
< set-property property ="inactivity-timeout" value ="30" />
< set-property property ="wait-timeout" value ="30" />
< set-property property ="eroDateTimeBehavior"
value ="convertToNull" />
</ data-source >
< data-source key ="mysql" type ="org.apache.commons.dbcp.BasicDataSource" >
< set-property property ="autoCommit" value ="true" />
< set-property property ="driverClassName" value ="com.mysql.jdbc.Driver" />
< set-property property ="url" value ="jdbc:mysql://localhost:3306/dbnota?
useUnicode=true&characterEncoding=utf-8" />
< set-property property ="maxActive" value ="200" />
< set-property property ="maxIdel" value ="30" />
< set-property property ="maxWait" value ="10000" />
< set-property property ="autoReconnect" value ="true" />
< set-property property ="username" value ="root" />
< set-property property ="password" value ="chgl" />
< set-property property ="maxCount" value ="10" />
< set-property property ="minCount" value ="1" />
< set-property property ="inactivity-timeout" value ="30" />
< set-property property ="wait-timeout" value ="30" />
< set-property property ="eroDateTimeBehavior"
value ="convertToNull" />
</ data-source >