异常信息
1 | java.sql.SQLException: connection holder is null |
相关配置
1 | <!-- 关闭长时间不使用的连接 --> |
解决方案
- removeAbandoned 设置为 false,不建议。
- removeAbandonedTimeout 延长这个过期时间,也不是太建议。
- 指定不要关闭某个方法的连接(how?)
1 | java.sql.SQLException: connection holder is null |
1 | <!-- 关闭长时间不使用的连接 --> |
支付宝