Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DBCP 让您指定空闲连接的最小和最大数量请参阅链接
我在 C3p0 中找不到类似的选项。我可以指定最大和最小池大小,但似乎就是这样。有没有办法在 C3p0 中指定这个?如果没有,有谁知道 C3p0 是否有最大/最小空闲连接的默认值,还是不限制它们?
据我所知,c3p0在未使用的连接过期之前限制了时间。该时间由 maxIdleTime 参数配置。