spring-boot-sharding-sphere icon indicating copy to clipboard operation
spring-boot-sharding-sphere copied to clipboard

SpringBoot + ShardingSphere 实现读写分离 分库分表

Results 4 spring-boot-sharding-sphere issues
Sort by recently updated
recently updated
newest added

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService' defined in file [G:\workspaces\spring-boot-sharding-sphere\sub-table-read-write\target\classes\com\oujiong\service\UserService.class]: Unsatisfied dependency expressed...

开发环境没问题,能达到按ID分表 但打成jar包运行,却是每个表都重复插入相同的数据 换了多个环境皆是如此

建表语句能不能放上来, 谢了

![image](https://user-images.githubusercontent.com/29157770/69398448-3c02f800-0d25-11ea-858f-5da85ad2c875.png) 为什么我的 分表最后结果是这样的,每个表都会插入一份呢,烦请告知