tags:

views:

68

answers:

0

I'm using Postgres and also the Datasources plugin.

Rails has a property called schema_search_path. Is there an equivalent in Grails?

I have two schemas, hk and public in the database.

Where can I specify a search path for the schema or a specific schema name?

I was able to make this work using the syntax like the following on the individual class.

static mapping = { table name:'he_stats_item_summary_keywords', schema:'he' }

However, it would still be nice to know if there was an equivalent to the schema_search_path on the datasource.