摘要: JdbcTemplate jdbcTemplate=(JdbcTemplate) SpringUtils.getBean("jdbcMysqlTemplate"); DruidDataSource drs = (DruidDataSource) jdbcTemplate.getDataSource();//前面实现各有不同主要从配置bean中获取DruidDataSource int acti... 阅读全文
posted @ 2019-04-17 16:03 小泉哥 阅读(12179) 评论(0) 推荐(0) 编辑
摘要: 起因:系统连接池满了 加配置排查: 重启系统跑一段时间查log: 定位到泄漏代码位置。 阅读全文
posted @ 2019-04-17 11:36 小泉哥 阅读(2974) 评论(0) 推荐(0) 编辑