标签:style java color 数据 io cti 数据库 sql
根据这个方案我们进行如下配置:
注:红色字体是需要注意的内容
<Resource name="jdbc/pageFrame"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://127.0.0.1:3306/databaseName?autoReconnect=true"
username="uname"
password="upass"
maxActive="20" maxIdle="10" maxWait="10000"
validationQuery = "SELECT 1"
timeBetweenEvictionRunsMillis = "300000"
minEvictableIdleTimeMillis = "1800000"
testWhileIdle = "true"
/>
标签:style java color 数据 io cti 数据库 sql
原文地址:http://my.oschina.net/leejayblog/blog/295657