Skip to content

Conversation

@gavinking
Copy link
Member

along with other minor code refactorings

[Please describe here what your change is about]


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.


@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: [ad8b969]

› This message was automatically generated.

@gavinking gavinking marked this pull request as ready for review November 20, 2025 20:33
final OptimisticLockStyle optimisticLockStyle = entityPersister().optimisticLockStyle();
switch ( optimisticLockStyle ) {
final var jdbcValueBindings = mutationExecutor.getJdbcValueBindings();
switch ( entityPersister().optimisticLockStyle() ) {

Check warning

Code scanning / CodeQL

Missing enum case in switch Warning

Switch statement does not have a case for
NONE
.
@gavinking gavinking merged commit 350a139 into hibernate:main Nov 20, 2025
27 of 28 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.

1 participant