我正在使用 C3P0。我有以下配置。我需要缓存语句。
maxPoolSize="20"
minPoolSize="6"
acquireIncrement="3"
initialPoolSize="3"
maxStatements="2000"
我在这里将 maxStatements
设置为 2000
。 maxPoolSize
为 20
。这是否意味着将缓存总共 2000*20=40000 条语句?
谢谢!
最佳答案
关于java - C3P0 max语句配置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15087314/