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

   - In this case, you need to actively implement the spi of the shardingsphere 
jdbc driver to read the `application.yml` on the classpath. 
   
   - You cannot put the spi implementation class of shardingsphere into the 
life cycle of spring context, because shardingsphere jdbc datasource allows 
multiple instances, and the spi implementation class is easily created and used 
by internal classes.  For spring boot, you can directly regard spring context 
as a single instance such as jaas.
   
   - I would say you can feel free to consult the spring boot documentation to 
understand why the spring context's internal map itself is not suitable for 
storing metadata.


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