Skip to content

Conversation

@mbellade
Copy link
Member

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

Backport of #10289


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.


upsert() should throw StaleObjectStateException if the version
verification fails
- also fix the problem for upsert emulation with UPDATE/INSERT
@mbellade mbellade added the 6.6 label Jun 12, 2025
@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: [0005b80]

› This message was automatically generated.

@mbellade
Copy link
Member Author

Closing, this would require #9932 since it relies on ConstraintViolationException#getKind.

@mbellade mbellade closed this Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants