Grails - schema configuration

datasource, grails

Solution

I found a way to do it. Simply, add

hibernate.default_schema = 'schemaName'

In DataSource.groovy

Problem

How can I configure Grails (in DataSource.groovy file) to use specific schema that a given username has access to, but it is not necessarily the default schema for that user. Thanks

Original source