一个项目启动之后,控制台有很多打印信息,特别是这一行:{conn-10007, pstmt-20029} enter cache
有人知道这是什么意思吗?
2019-04-24 13:35:08.122 [pool-2-thread-2] DEBUG [] - Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@a3e11ae]
2019-04-24 13:35:08.122 [pool-2-thread-1] DEBUG [] - Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@669eb7be]
2019-04-24 13:35:08.171 [logsvc-Scheduler_Worker-2] DEBUG [] - {conn-10010, pstmt-20033} enter cache
2019-04-24 13:35:08.172 [logsvc-Scheduler_Worker-2] DEBUG [] - {conn-10010, pstmt-20034} enter cache
2019-04-24 13:35:08.173 [logsvc-Scheduler_Worker-1] DEBUG [] - {conn-10007, pstmt-20029} enter cache
2019-04-24 13:35:08.174 [logsvc-Scheduler_Worker-1] DEBUG [] - {conn-10007, pstmt-20035} enter cache
2019-04-24 13:35:08.176 [logsvc-Scheduler_Worker-1] DEBUG [] - {conn-10007, pstmt-20036} enter cache
2019-04-24 13:35:08.176 [logsvc-Scheduler_Worker-1] DEBUG [] - {conn-10007, pstmt-20037} enter cache
2019-04-24 13:35:08.238 [logsvc-Scheduler_QuartzSchedulerThread] DEBUG [] - {conn-10008, pstmt-20038} enter cache
是什么项目?如何启动的呢
dubbo+spring+mybatis,数据库是musql的,其他服务不会的,就有一个服务集成了quartz之后,用tomcat插件启动的,就有很多这样的信息
druid连接池的,配置了对statement的缓存,具体的可以看 PreparedStatementPool 这个类。