Externalizing Grails Datasource configuration

Posted by miek on Stack Overflow See other posts from Stack Overflow or by miek
Published on 2009-06-09T13:35:38Z Indexed on 2010/03/26 9:03 UTC
Read the original article Hit count: 531

Grails 1.x allows using external configuration files by setting the grails.config.locations directive. Is there a similar approach available for externalizing the database configuration in Datasource.groovy (without setting up JNDI)?

It would prove helpful to be able to configure DB credentials in a simple configuration file outside the application.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about grails

Related posts about datasource