Tags


Popular GORM Posts

By default, when a GORM `.save()` function call fails, it fails silently. If you want it to always throw an error, add this to your /grails-app/conf/application.yml file at the bottom. --- ...
Grails domain classes using GORM offer the dynamic finders `Class.findByXXX()` and `Class.findAllByXXX(max: 123)`, which will retrieve 1 record and 123 records, respectively. On SQL Server 2012 or h...
It's often useful when debugging a Grails application to be able to see the exact SQL that is being executed in the database. If you're using GORM, you can modify your /grails-app/conf/application.y...