GRAILS-7336 & GRAILS-7154 adding readOnly, fetchSize, timeout, and flushMode options to grails dynamic finders/criteria/executeQuery methods #61

Merged
merged 1 commit into from May 4, 2011

Conversation

Projects
None yet
2 participants
Contributor

tednaleid commented May 1, 2011

"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.

@tednaleid tednaleid GRAILS-7336 & GRAILS-7154 adding readOnly, fetchSize, timeout, and fl…
…ushMode options to grails dynamic finders/criteria/executeQuery methods
931e7a7

@jeffbrown jeffbrown added a commit that referenced this pull request May 4, 2011

@jeffbrown jeffbrown Merge pull request #61 from tednaleid/master.
GRAILS-7336 & GRAILS-7154 adding readOnly, fetchSize, timeout, and flushMode options to grails dynamic finders/criteria/executeQuery methods
cc9a926

@jeffbrown jeffbrown merged commit cc9a926 into grails:master May 4, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment