-
Notifications
You must be signed in to change notification settings - Fork 41.6k
When pool autocommit is disabled, inform Hibernate #9737
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
Conversation
d2ca5e5 to
76d464f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@candrews we're not sure if we're going to proceed with this one (see the related issue) but regardless we won't merge that without a test of some sort (no idea how hard it would be to build one).
7b33233 to
2800373
Compare
Starting with Hibernate 5.2.10, the JPA property `hibernate.connection.provider_disables_autocommit` should be set to true when the datasource has autocommit disabled in order to improve performance. Fixes spring-projects#9261
2800373 to
ee28ffc
Compare
|
I've updated this PR addressing the merge conflicts. I agree that having some tests would be wonderful :) |
Starting with Hibernate 5.2.10, the JPA property `hibernate.connection.provider_disables_autocommit` should be set to true when the datasource has autocommit disabled in order to improve performance. See gh-9737
* pr/9737: Polish "When pool autocommit is disabled, inform Hibernate" When pool autocommit is disabled, inform Hibernate
|
Hey, can you please help me the release in which this will be available? |
|
It’s in 2.0 M6 and later |
|
@rimal there is a milestone in the upper right corner of this page (unless you're watching this on mobile). |
Starting with Hibernate 5.2.10, the JPA property
hibernate.connection.provider_disables_autocommitshould be set to true when the datasource has autocommit disabled in order to improve performance.
Fixes #9261