10:06:10,348 DEBUG SpringManagedTransaction:86 - JDBC Connection [com.mchange.v2.c3p0.impl.NewProxyConnection@3c84fae3] will not be managed by Spring
10:06:10,348 DEBUG find:139 - ==> Preparing: SELECT * FROM se_workorder where 1=1 and submitManId=? LIMIT ?,?
10:06:10,348 DEBUG find:139 - ==> Parameters: 19(Integer), 1(Integer), 20(Integer)
10:06:10,357 DEBUG BasicResourcePool:554 - acquire test -- pool is already maxed out. [managed: 15; max: 15]
10:06:10,357 DEBUG BasicResourcePool:1291 - awaitAvailable(): com.mchange.v2.c3p0.impl.NewPooledConnection@5678a68a
10:06:10,357 DEBUG BasicResourcePool:1644 - trace com.mchange.v2.resourcepool.BasicResourcePool@3691ada9 [managed: 15, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@5678a68a)
10:06:10,348 DEBUG find:139 - ==> Preparing: SELECT * FROM se_workorder where 1=1 and submitManId=? LIMIT ?,?
10:06:10,348 DEBUG find:139 - ==> Parameters: 19(Integer), 1(Integer), 20(Integer)
10:06:10,356 DEBUG find:139 - <== Total: 20
10:06:10,357 DEBUG BasicResourcePool:554 - acquire test -- pool is already maxed out. [managed: 15; max: 15]
10:06:10,357 DEBUG BasicResourcePool:1291 - awaitAvailable(): com.mchange.v2.c3p0.impl.NewPooledConnection@5678a68a
10:06:10,357 DEBUG BasicResourcePool:1644 - trace com.mchange.v2.resourcepool.BasicResourcePool@3691ada9 [managed: 15, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@5678a68a)
本文详细记录了一次SQL查询过程的日志输出,包括JDBC连接管理、参数设置、查询结果数量及从数据源获取连接的过程。同时展示了C3P0连接池在达到最大容量时的自动等待机制。
2382

被折叠的 条评论
为什么被折叠?



