ShardingSphere Bean is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Lacxner opened this issue · 8 comments
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
- Searched open and closed GitHub issues.
- Read documentation: ShardingSphere Doc.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
5.0.0Beta
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
Actual behavior
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
Console print Bean is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) where application bootstraps.
I will make a try.
-
There is a problem, ShardingSphere JDBC SpringBoot Starter is still using
spring-context-4.3.25.RELEASE
instead ofspring-context-5.x
, which causesorg.springframework.context.annotation.Configuration
not to existproxyBeanMethods
properties. -
Considering issues like #20963 , I think we should drop ShardingSphere JDBC SpringBoot Starter support for SpringBoot OSS 1.X?
-
I noticed that the git record actually used Spring Framework 5.x for a while, but was reverted. I will be submitting a PR to drop support for Spring Boot OSS 1.X shortly.
-
Considering https://spring.io/projects/spring-framework#support , the scope of the project's springframework.version should start from 5.3.0 to facilitate collaboration.
Hello , this issue has not received a reply for several days.
This issue is supposed to be closed.
- I just can't submit a PR right away due to personal matters.
- Found that I can't fully solve this problem locally, I'm not working on this issue.
- This issue should be marked as resolved and closed due to #22469 .
Closed for #22469.