C3p0指定最大和最小空闲连接
DBCP 让您指定空闲连接的最小和最大数量 查看链接
我找不到C3p0 中有类似的选项。我可以指定最大和最小池大小,但似乎就是这样。有没有办法在 C3p0 中指定这一点?如果没有,有谁知道 C3p0 是否有最大/最小空闲连接的默认值,或者它不限制它们?
DBCP let's you specify a min and max number for Idle connections See Link
I can't find a similar option in C3p0. I can specify a max and min pool size, but that appears to be it. Is there a way to specify this in C3p0? If not, does anyone know if C3p0 has a default for max/min idle connections, or does it not limit them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,c3p0 在未使用的连接过期之前限制时间。
该时间由 maxIdleTime 参数配置。
As I know c3p0 limits time before unused connection being expired.
This time is configured with maxIdleTime parameter.