Spring boot uses sharding JDBC configuration

This article introduces the configuration of spring boot using sharding JDBC and shares it with you as follows:

explain

To exclude datasourceautoconfiguration, multiple data sources cannot be configured

Multiple configured data sources are managed by sharding JDBC, which creates a data source for mybatis to use

Official documents: http://shardingjdbc.io/index_zh.html

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>