You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/03/20 07:42:37 UTC
[GitHub] [shardingsphere] linghengqian edited a comment on issue #15086: Cannot subclass final class org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource
linghengqian edited a comment on issue #15086:
URL: https://github.com/apache/shardingsphere/issues/15086#issuecomment-1073189418
> 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 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
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org