nealzyf commented on issue #15086:
URL: 
https://github.com/apache/shardingsphere/issues/15086#issuecomment-1073452400


   > > I also try the below code , but the shardingSphereDataSource via spring 
aop is null in spring boot 2.3.10. but this code is ok in the spring boot 2.5
   > 
   > * @nealzyf
   > * My message is just to supplement, `Apache ShardingSphere` uses 
SpringBoot `1.x` to build unit tests, this problem for a specific version of 
`SpringBoot` may not be solved, especially SpringBoot `2.3.x` has stopped 
community maintenance. Notice that you use 
`com.baomidou:dynamic-datasource-spring-boot-starter`, so I have reason to 
think you have seen my message, for SpringBoot `2.5.1` to `3.0.0-M1`, 
`ShardingSphere` and `dynamic-datasource-spring-boot-starter` integration works 
fine. Refer to [整合sharding的时候,停止程序报错,和#395差不多 
baomidou/dynamic-datasource-spring-boot-starter#415 
(comment)](https://github.com/baomidou/dynamic-datasource-spring-boot-starter/issues/415#issuecomment-1041243942)
 .
   > * If you want to know a properly configured integration example, refer to 
https://github.com/dynamic-datasource/dynamic-datasource-samples/tree/master/third-part-samples/shardingSphere-jdbc-sample
   
   Do you have any way to work around?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to