Skip to content

"Not using JDBC" when locking previously loaded entities in Hibernate Reactive 3 #2371

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dreab8
Copy link
Member

@dreab8 dreab8 commented Jul 16, 2025

Fix #2332

When loading an entity already present in the PersistenceContext but with a greater lock mode DefaultReactiveLoadEventListener ends up calling EntityPersister#lock() method instead of ReactiveEntityPersister#reactiveLock

To be merged the PR needs the following change in Hibernate Core hibernate/hibernate-orm#10550

@dreab8 dreab8 marked this pull request as draft July 16, 2025 13:47
@DavideD DavideD added bug Something isn't working waiting We are waiting for another PR or issue to be solved before merging this one and removed bug Something isn't working labels Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting We are waiting for another PR or issue to be solved before merging this one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Not using JDBC" when locking previously loaded entities in Hibernate Reactive 3
2 participants