1、修改默认值,oracle 下默认不启用 maxPoolPreparedStatementPerConnectionSize 可根据需要开启;2、将 com.oracle.ojdbc 驱动替换为 com.oracle.database.jdbc 驱动;3、默认将 jtds 驱动替换为 sqlserver 驱动;

This commit is contained in:
thinkgem
2024-02-02 14:03:11 +08:00
parent 5fb6ab0ca6
commit 37b0a120c9
5 changed files with 23 additions and 26 deletions

View File

@@ -51,7 +51,7 @@ jdbc:
removeAbandoned: false
removeAbandonedTimeout: 2100
# Oracle 下会自动开启 PSCache并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同4.1.5+
# 是否缓存 PreparedStatement 对象的最大数量4.1.5+
maxPoolPreparedStatementPerConnectionSize: ~
# 设置连接属性,可获取到表的 remark (备注)