- 博客(8)
- 收藏
- 关注
原创 SpringBoot整合MyBatisPlus多数据源
在项目中通常会遇到需要使用不同的数据库,比如同时使用了MySql、clickhouse等,有时候还需要配置主从等,那么这就需要实现多数据源的切换问题。这里以Mysql和clickhouse为例记录一下MyBatisPlus多数据源切换的实现和使用,其他多数据源场景相同。
2024-10-18 16:06:43
1638
原创 采用ApplicationRunner和CommandLineRunner接口初始化报错问题
ApplicationRunner和CommandLineRunner接口初始化报错问题
2023-06-26 11:19:34
1083
原创 解决MyBatis/MyBatis-Plus中查询integer类型字段值为0时if test条件失效
解决MyBatis/MyBatis-Plus中查询integer类型字段值为0时if test条件失效
2023-03-29 17:07:55
1353
原创 hint: Updates were rejected because the tip of your current branch is behind hint: its remote counte
Git push 报错,hint: Updates were rejected because the tip of your current branch is behind hint: its remote counte
2022-12-01 17:28:00
883
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人