Grails - schema configuration

How to configure Grails (in the DataSource.groovy file) to use a specific scheme that a given username has access to, but this is not necessarily a standard scheme for that user.

thanks

+4
source share
2 answers

I found a way to do this. Just add

hibernate.default_schema = 'schemaName'

In DataSource.groovy

+10
source

Unfortunately, DataSource.groovy you cannot do this because this information cannot be changed at runtime.

0
source

All Articles