From 64f13684c991785bbd525dc472d2c93064c2832d Mon Sep 17 00:00:00 2001 From: thinkgem Date: Thu, 30 May 2019 12:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=B1=A0=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=20maxPoolPreparedStatementPerConnectionSize=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=8C=E5=8F=AF=E6=8C=87=E5=AE=9A=20PSCache=20?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 3 +++ web/src/main/resources/config/application.yml | 3 +++ 2 files changed, 6 insertions(+) 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