How do you access two databases in Grails

后端 未结 6 1110
Happy的楠姐
Happy的楠姐 2020-12-30 00:29

Grails makes it very easy to configure datasources for different environments (development, test, production) in its DataSources.groovy file, but there seems to be no facili

6条回答
  •  醉话见心
    2020-12-30 01:06

    If using Grails 2.0 or higher, there is no need for the plugin, it is supported natively.

    http://www.grails.org/doc/latest/guide/single.html#multipleDatasources

提交回复
热议问题