I\'ve got a situation where I\'m trying to create a table called \'user\' in Postgres, which throws an error due to Hibernate not putting table names in quotes:
Assuming you're follwing the same tutorial as I do ("Getting started with Grails" by InfoQ) you've already understood it doesn't provide any coverage to PostgreSQL. Based on this post:
class User { String username String password ... static mapping = { table 'users' password column: '`password`' } }
or
class User {
String username
String password
...
static mapping = {
table '`user`'
password column: '`password`'
}
}