springboot使用sharding-jdbc分库分表

1,引入依赖html <dependency> <groupId>io.shardingsphere</groupId> <artifactId>sharding-core</artifactId> <version>2.0.3</version> </dependency> 2,配置数据源java 取消springboot自动配置的数据源:删除application.ym
相关文章
相关标签/搜索