Skip to main content


Showing posts from February, 2014

View sql log in grails

Today I've learned from 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.