Home > Back-end >  Questions about the Druid use yaml configuration
Questions about the Druid use yaml configuration

Time:02-19

Today to see the source code DruidDataSource found in the configuration code is as follows:

Then I use in DruidConfig @ ConfigurationProperties (prefix="spring. The datasource") annotation, why yml druid configuration in the configuration file is spring. The datasource. XXX will only take effect, why not spring. The datasource. The druid. XXX


  • Related