linghengqian commented on issue #18927:
URL: 
https://github.com/apache/shardingsphere/issues/18927#issuecomment-1178620390

   > I found that you replaced the Preparedstatement with your 
shardingspherepreparedstatement. The classbasedshardingalgorithm in it is 
stored in the shardingspherepreparedstatement. However, after the 
initialization of classbasedshardingalgorithm, it is stored in the bean of 
spring, and beandefinitionbuilder \genericbeandefinition is used to create 
beandefinitionbuilder. Then register. I'm a little curious about why we need to 
register here. Why don't we get the data source directly from beanfactory and 
put classbasedshardingalgorithm into it 
   
   - Are you referring to custom algorithm classes registered into the Spring 
container? This has nothing to do with ShardingSphere's design, which clearly 
shouldn't intersect with Spring when its data source itself is in a Spring 
container. And you have to take into account that Quarkus users don't walk 
Spring containers.
   
   


-- 
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