Java学习之动态获取数据库 转载地址:https://blog.csdn.net/ylforever/article/details/79600631 springboot创建的maven项目,在实现分库时,动态获取数据源。