zyro23 opened a new issue, #14476:
URL: https://github.com/apache/grails-core/issues/14476

   configuring two dataSources,
   
   * 
https://github.com/grails/gorm-hibernate5/blob/v6.0.8/docs/src/docs/asciidoc/multipleDataSources/configuration.adoc
 says
   ```yml
   dataSource:
       # primary dataSource config ("dataSource")
   dataSources:
       secondary:
           # secondary dataSource config ("dataSource_secondary")
   ```
   is the correct format while
   * http://docs.grails.org/3.2.6/guide/conf.html#multipleDatasources
   * 
https://github.com/grails/grails3-functional-tests/blob/3.2.x/datasources/grails-app/conf/application.yml
   * 
https://github.com/grails/gorm-hibernate5/blob/v6.0.8/grails-datastore-gorm-hibernate5/src/main/groovy/grails/orm/bootstrap/HibernateDatastoreSpringInitializer.groovy#L93
   
   indicate that the correct format is:
   ```yml
   dataSources:
       dataSource:
           # primary dataSource config ("dataSource")
       secondary:
           # secondary dataSource config ("dataSource_secondary")
   ```


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