Skip to content
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

tednaleid
Copy link
Contributor

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

…ushMode options to grails dynamic finders/criteria/executeQuery methods
osscontributor pushed a commit that referenced this pull request May 4, 2011
GRAILS-7336 & GRAILS-7154 adding readOnly, fetchSize, timeout, and flushMode options to grails dynamic finders/criteria/executeQuery methods
@osscontributor osscontributor 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants