Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GRAILS-7336 & GRAILS-7154 adding readOnly, fetchSize, timeout, and flushMode options to grails dynamic finders/criteria/executeQuery methods #61
"readOnly", "fetchSize", "timeout", and "flushMode" work just like the existing pagination/cache parameters on all of the dynamic finders (findBy, findAllBy, list, etc) as well as executeQuery.
All of these methods are already on the Hibernate 3.6 Criteria and Query objects, this patch simply passes those values through to hibernate.
If accepted, I'll also update the grails-docs repo with notes around the 4 new parameters that have been added to the map.