etms/WEB-INF/classes/config/dbPool.properties
liyuchen c24bea2687 Initial commit: JCDP 教育培训管理系统 v54
- 系统管理模块(用户/角色/组织/权限/日志)
- 教育培训计划管理模块
- 教育培训实施模块
- 考试管理模块
- 调研问卷管理模块
- 外派培训管理模块
- 年度培训总结模块
- 学习资源管理模块
- 任职资格管理模块
- 即时通讯模块
- APP 版本管理
- 统计分析模块(FineReport)
- 代码审查标准和报告(CODE_REVIEW_GUIDE.md, CODE_REVIEW_REPORT.md)
- 项目开发指南(PROJECT_GUIDE.md)
2026-04-16 16:41:34 +08:00

35 lines
1015 B
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

filters=log4j,stat
#最大连接池数量
maxActive=5000
#最小连接池数量
minIdle=10
#初始化时建立物理连接的个数
initialSize=1
#获取连接时最大等待时间,单位毫秒
maxWait=60000
timeBetweenEvictionRunsMills=60000
minEvictableIdleTimeMillis=300000
#在获得连接后检测其可用性
# hsqldb - "select 1 from INFORMATION_SCHEMA.SYSTEM_USERS"
# Oracle - "select 1 from dual"
# DB2 - "select 1 from sysibm.sysdummy1"
# mysql - "select 1"
validationQuery=select 1
testWhileldle=true
testOnBorrow=false
testOnReturn=false
#打开PSCache并且指定每个连接上PSCache的大小
#如果用Oracle则把poolPreparedStatements配置为truemysql可以配置为false。分库分表较多的数据库建议配置为false。
poolPreparedStatements=false
maxOpenPreparedStatements=20
#对于长时间不使用的连接强制关闭
removeAbandoned=true
#超过30分钟开始关闭空闲连接
removeAbandonedTimeout=1800
#将当前关闭动作记录到日志
logAbandoned=true