yl1935

Results comments of yl1935

我在4.0.0版本中使用了mybatis 在非注册中心配置下没有问题,如果引入了sharding-jdbc-orchestration-spring-boot-starter就会报这个错误,比较了sharding-jdbc-orchestration-spring-boot-starter包中的OrchestrationSpringBootConfiguration.java和sharding-jdbc-spring-boot-starter包中的SpringBootConfiguration.java文件,发现少了@AutoConfigureBefore(DataSourceAutoConfiguration.class)这个注解,感觉是这里影响的。

不过好像也没啥影响,测试后发现两个语句执行时间差不多好像没什么区别,估计mysql对语句进行了优化。谢谢你的解答!