diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 713d69a9..b75d3bd3 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -44,6 +44,9 @@ jdbc: removeAbandoned: true removeAbandonedTimeout: 2100 + # Oracle 下会自动开启 PSCache,并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同(4.1.5+) + maxPoolPreparedStatementPerConnectionSize: ~ + # JTA 分布式事务(v4.0.4+) jta: enabled: false diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index 4184a3b6..511c5a1e 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -101,6 +101,9 @@ jdbc: # # 是否自动回收泄露的连接和超时时间,单位秒(35分钟)(4.0.6+) # removeAbandoned: true # removeAbandonedTimeout: 2100 +# +# # Oracle 下会自动开启 PSCache,并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同(4.1.5+) +# maxPoolPreparedStatementPerConnectionSize: ~ # # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2") # dataSourceNames: ds2