Skip to content

HHH-18621 Restore hibernate.jdbc.batch_versioned_data function in H6 #10727

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

Merged
merged 2 commits into from
Aug 14, 2025

Conversation

ettavolt
Copy link
Contributor

@ettavolt ettavolt commented Aug 9, 2025

It, particularly, enables reporting the exact entity that failed optimistic lock.

Redoing #8864 for the affected branch, v6.
v7 has an improvement that makes the setting irrelevant, but I think that backporting it is more risky.
If/when this is merged, would you like me to port just the test case to v7, so that reporting the failed versioned entity updated is not lost again?


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-18621

@gavinking gavinking changed the title HHH-18621 Restore hibernate.jdbc.batch_versioned_data function in v6. HHH-18621 Restore hibernate.jdbc.batch_versioned_data function in H6 Aug 11, 2025
It, particularly, enables reporting the exact entity that failed optimistic lock.
@beikov beikov force-pushed the restore-batch-versioned branch from a106c70 to 75996fa Compare August 13, 2025 17:34
@beikov
Copy link
Member

beikov commented Aug 14, 2025

Now the BatchOffOnlyForOptimisticallyLocked test fails

@hibernate-github-bot
Copy link

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [71191e9]

› This message was automatically generated.

@beikov beikov merged commit e225ef2 into hibernate:6.6 Aug 14, 2025
2 of 7 checks passed
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.

2 participants