New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
@tednaleid
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.

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

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

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

@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