* 【升级】redisson from 3.16.3 to 3.16.6,解决 Stream 在调试场景下会存在 NPE 的问题

* 【升级】spring-boot from 2.4.5 to 2.4.12,最新的 Spring Boot 2.6.X 在等更流行一些,稳定第一
* 【升级】druid from 1.2.4 to 1.2.8,提升数据库连接池的稳定性
* 【升级】dynamic-datasource from 3.3.2 to 3.5.0,修复动态数据源切换的问题
This commit is contained in:
YunaiV
2021-12-16 09:08:05 +08:00
parent a92acff99b
commit f94435d592
5 changed files with 28 additions and 14 deletions

View File

@ -6,6 +6,12 @@ spring:
--- #################### 数据库相关配置 ####################
spring:
# sql:
# init:
# schema-locations: classpath:sql/create_tables.sql
# username: sa
# password:
# enabled: true
# 数据源配置项
datasource:
name: ruoyi-vue-pro
@ -23,6 +29,9 @@ spring:
host: 127.0.0.1 # 地址
port: 16379 # 端口(单元测试,使用 16379 端口)
database: 0 # 数据库索引
integration:
jdbc:
initialize-schema:
mybatis:
lazy-initialization: true # 单元测试,设置 MyBatis Mapper 延迟加载,加速每个单元测试