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: debug 'org.hibernate.SQL' trace 'org.hibernate.type.descriptor.sql.BasicBinder' into your Log4j configuration at Config.groovy. Pretty important info.
Blog by abdza. Open Source, Computers, Gadgets, Life, Love and everything in between.