RaigorJiang commented on issue #24880: URL: https://github.com/apache/shardingsphere/issues/24880#issuecomment-1488957242
Yes, the init method should be called automatically. This situation may be caused by the interaction of spring beans. I have seen some similar issues before. You can upgrade to version 5.3.x, the algorithm initialization no longer depends on the bean container. > I have tried , and I find the init method of `ClassBasedShardingAlgorithm ` is not called when the spring boot project start up , Should it have been called at project startup? -- 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]
