SSH框架整合连接池proxool的配置

1. 添加所需架包:proxool-0.9.jar.

2. 准备属性文件:pool.properties.

#pool-proxool
driver=com.mysql.jdbc.Driver
driverUrl=jdbc\:mysql\://127.0.0.1\:3306/StudentDB?user\=root&password\=***&useUnicode\=true&characterEncoding\=utf-8&characterSetResults\=UTF-8
user=root
password=***

alias=proxoolPool
houseKeepingSleepTime=30000No result defined for action
prototypeCount=20
minimumConnectionCount=5
maximumConnectionCount=30
maximumActiveTime=300000
trace=true
verbose=true
houseKeepingTestSql=select CURRENT_DATE
simultaneousBuildThrottle=50

你可能感兴趣的:(SSH框架整合连接池proxool的配置)