Today I've learned from https://burtbeckwith.com/blog/?p=1604 that if you want to view what is the query that is actually run by gorm you just have to add:
into your Log4j configuration at Config.groovy. Pretty important info.
debug
'org.hibernate.SQL'
trace
'org.hibernate.type.descriptor.sql.BasicBinder'
into your Log4j configuration at Config.groovy. Pretty important info.
Comments