def person = Person.findByFirstName("Fred", cache:false)<
def people = Person.withCriteria { like('firstName', 'Fr%') cache false }
http://d.hatena.ne.jp/fits/20080703/1215107047
http://groovy.codehaus.org/Groovy+way+to+implement+interfaces
ResultTransformer
http://www.slideshare.net/tyama/g-in-grails
pre> Q: How can I turn on logging for hibernate in order to see SQL statements, input parameters and output results?
Edit your Config.groovy file. Find the line with:
hibernate = "off"
and replace it with:
hibernate.SQL="trace,stdout"
hibernate.type="trace,stdout"
now you will see SQL logging statements appear on the console.
/pre?