Configuring Data Sources
You can either configure a Data source through Grails or via JNDI. If you're using Grails' data source configuration then this differs in versions 0.6 and above. Click on the relevant section to find out more:
- Grails Data Sources 0.1 -> 0.5.6
- Grails Data Sources 0.6
- JNDI Data Sources
If in a property value (the username or the password of the datasource for example) you have a character '$' (xxx$xxxx in the sample below), you need to escape it or it will be considered by Groovy as a variable in a GString.
As a workaround you can use :
or