Ignore:
Timestamp:
May 27, 2010, 4:10:12 PM (11 years ago)
Author:
duh
Message:
  • tweaked termEditorController (set lines in the proper order, error() and success() should always be called last) and removed debugging feedback
  • added PostgreSQL optimization comment to datasource
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/DataSource.groovy

    r486 r488  
    6464                        url = "jdbc:postgresql://localhost:5432/gscf"
    6565                        dialect = org.hibernate.dialect.PostgreSQLDialect
    66                         logSql = true
     66                        logSql = true   // enable logging while not yet final
     67
     68                        /* Apparently Hibernate performs two queries on inserting, one before
     69                         * to generate the unique id, and then the insert itself. In PostgreSQL
     70                         * > 8.2 this behaviour has changed, however hibernate has not implemented
     71                         * this change. In case we might optimize in the future, more info is here:
     72                         * http://blog.wolfman.com/articles/2009/11/11/using-postgresql-with-grails
     73                         * - Jeroen
     74                         */
    6775
    6876                        // MySQL
Note: See TracChangeset for help on using the changeset viewer.