Quantcast

PostgreSQL Default Schema in DataSource

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

PostgreSQL Default Schema in DataSource

Mark=>S
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: PostgreSQL Default Schema in DataSource

sdthomas
This post has NOT been accepted by the mailing list yet.
It looks as though it should be possible:

http://jira.codehaus.org/browse/GRAILS-1132
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: PostgreSQL Default Schema in DataSource

Mark=>S
Aha! Thank you very much 'sdthomas' - that has solved it:-

development {
    dataSource {
      dbCreate = "update"
      url = "jdbc:postgresql://localhost:5432/deploy"
      hibernate.default_schema = "turnkey_dev"  // THIS IS THE IMPORTANT BIT!
      dialect = org.hibernate.dialect.PostgreSQLDialect
    }
  }

Thanks once again.

Mark
Loading...