c3p0.idle_test_period的使用。
我是c3op的新手,对使用以下内容感到困惑:
c3p0.idle_test_period
此链接 : 如何配置 C3P0 连接池
idleTestPeriod : Must be set in hibernate.cfg.xml (or hibernate.properties), Hibernate default:
0, If this is a number greater than 0, c3p0 will test all idle, pooled but unchecked-out
connections, every this number of seconds.
这种测试(idel、池连接)的目的是什么,c3p0.idle_test_period和 c3p0.timeout 之间的关系是什么?