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