register
other register

Wednesday, January 14, 2009

Restart the Application After Changing the Dynamic Finders in Grails

When changing the dynamic finders (i.e. find, findAll, findBy) while the grails application is running, you need to restart the application to reflect the changes for the queries. 

If you set  "logSql=true" in your conf/DataSource.groovy, then you can monitor whether  sql queries reflect your changes.



No comments: