dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
Skill
1
Star
5,191
License
Apache-2.0
Last commit
Nov 11, 2026
Skills in this repo1
---
name: dynamic-datasource
description: dynamic-datasource(Baomidou 多数据源框架)使用与排障指南:基础安装、@DS/@DSTransactional 用法,以及最常见问题排查——数据源切换失败/@DS 不生效、启动报错、事务内不切换、线程与异步、连接池参数、密码加密。Use when the project depends on com.baomidou:dynamic-datasource-*-starter, or when the user asks about 数据源切换失败、@DS 不生效、多数据源配置不生效、@DSTransactional、dynamic datasource switching not working, or multi-datasource troubleshooting.