日期:2014-05-17 浏览次数:21550 次
<?xml version="1.0" encoding="UTF-8"?> <!-- the proxool configuration can be embedded within your own application's. Anything outside the "proxool" tag is ignored. --> <something-else-entirely> <proxool> <alias>proxooldatascr</alias> <driver-url>jdbc:postgresql://localhost/bhtec</driver-url> <driver-class>org.postgresql.Driver</driver-class> <driver-properties> <property name="user" value="postgres"/> <property name="password" value="123456"/> </driver-properties> <!-- <driver-url>jdbc:mysql://localhost:3306/bhtec?characterEncoding=utf-8</driver-url> <driver-class>com.mysql.jdbc.Driver</driver-class> <driver-properties> <property name="user" value="mysql"/> <property name="password" value="123456"/> </driver-properties> --> <maximum-connection-count>100</maximum-connection-count> <minimum-connection-count>10</minimum-connection-count> <house-keeping-sleep-time>90000</house-keeping-sleep-time> <maximum-new-connections>20</maximum-new-connections> <prototype-count>5</prototype-count> <test-before-use>true</test-before-use> <house-keeping-test-sql>select current_date</house-keeping-test-sql> </proxool> </something-else-entirely>