update 使用MP自行判断数据库类型

This commit is contained in:
疯狂的狮子li
2021-09-06 16:10:33 +08:00
parent 36b0ebf54c
commit 43301bee8b
3 changed files with 2 additions and 5 deletions

View File

@ -38,7 +38,7 @@ spring:
# 配置一个连接在池中最大生存的时间,单位是毫秒
maxEvictableIdleTimeMillis: 900000
# 配置检测连接是否有效
validationQuery: SELECT 1 FROM DUAL
validationQuery: SELECT 1
testWhileIdle: true
testOnBorrow: false
testOnReturn: false