I\'m having trouble with Grails 2.0 and Postgresql 9.1
I\'m trying to map an existing database, with sequential ids. However, even without creating any class in the doma
You can configure Postgres to use one sequence per table - I described that here: http://grails.1312388.n4.nabble.com/One-hibernate-sequence-is-used-for-all-Postgres-tables-td1351722.html
But you'll still need to create the sequence(s). dbCreate='update'
doesn't create sequences (only create
and create-drop
do) so you'll need to manually create them or use a migration tool like http://www.grails.org/plugin/database-migration