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

   Thank you very much for your reply,When I try to use customization, I find 
that when I break the standardshardingstrategy #dosharding method, the 
attribute shardingalgorithm of standardshardingstrategy is indeed a 
classbasedshardingalgorithm object.
   
![image](https://user-images.githubusercontent.com/85894494/177896934-81575b2d-fd19-4b72-ac31-37f5fdac496d.png)
   
   But when I go to the classbasedshardingalgorithm class next, I find that 
standardshardingalgorithm is empty. Then when I try to debug in 
classbasedshardingalgorithm#init(). It was found that after springboot was 
started, the init () method was not entered.
   
   
![image](https://user-images.githubusercontent.com/85894494/177897163-c3082042-351b-4a28-a9e9-9a43edd44262.png)
   
![image](https://user-images.githubusercontent.com/85894494/177897370-3b5e1d2a-022e-4b5f-9e73-df7be4f8d47f.png)
   
   Later, when I try to upgrade shard JDBC to version 5.1.2, start the 
springboot environment. You will enter classbasedshardingalgorithm#init 
(),However, in versions 5.1.0 and 5.1.1, this init () method is not entered
   
   
   Thank you for your patience
   
   


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