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

Conflicting documented defaults for flushMode #760

Closed
jchharris opened this issue May 25, 2020 · 1 comment
Closed

Conflicting documented defaults for flushMode #760

jchharris opened this issue May 25, 2020 · 1 comment

Comments

@jchharris
Copy link

The Grails documentation states conflicting values for the default flush mode. It is unclear whether the default is AUTO or COMMIT. Nor is it it clear that there are apparently two separate settings for flush mode that don't agree with each other.

The Grails upgrade guide states that the hibernate flush mode is now COMMIT by default:

https://grails.github.io/grails-upgrade/latest/guide/index.html

"Flush Mode now COMMIT by Default
The default flush mode has been change to COMMIT due to the impact the previous flush mode AUTO has on read performance. You can switch back to AUTO use the hibernate.flush.mode setting in application.yml"

The GORM Guide states that the flush mode is AUTO by default:

https://gorm.grails.org/latest/hibernate/manual/index.html#_configuration_reference

name description default value
grails.gorm.flushMode The flush mode to use AUTO
@matrei
Copy link
Contributor

matrei commented Oct 2, 2023

Fixed by grails/gorm-hibernate5#644

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

No branches or pull requests

3 participants