Category: ‘Grails’

SpringOne2GX 2015 Recap

Sep 27 2015

Last week I was at SpringOne2GX (http://www.springone2gx.com/) in Washington, DC. Here are some takeaways on the various talks I attended along with my general impressions of the conference itself. There was a wide range of topics organized by various tracks which worked out pretty well. At my day job, we have a large Grails 2 […]

Grails Domain Class Reload Issuing Count Query

Aug 08 2012

When a Grails domain class is reloaded after a change, the Hibernate plugin for Grails verifies the domain class reloaded successfully by calling its count() method. Unfortunately, while somewhat rare, it is possible to have a domain class mapped to a very large table (or a view that joins very large tables) where a count […]

Handling Date Parameters in Grails

Mar 28 2011

Grails generally makes it very easy to bind request parameters to domain objects or command objects with properties of varying types. For most request parameters, a simple call to a controller’s bindData() method is all you need to handle property binding and type conversion. Unfortunately, the default Date binder is very rigid and only handles […]