Skip to content

HHH-19336 - Proper implementation for JPA extended locking scope #10194

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 28 commits into
base: main
Choose a base branch
from

Conversation

sebersole
Copy link
Member

@sebersole sebersole commented May 21, 2025

HHH-19336 - Proper implementation for JPA extended locking scope
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables

[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.


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

@gavinking
Copy link
Member

Excellent!

@sebersole
Copy link
Member Author

Unless I did something silly, this should be just Oracle failures now. Need to investigate those more.

sebersole added 16 commits June 4, 2025 16:47
HHH-19459 - LockScope, FollowOnLocking

# Conflicts:
#	hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java

# Conflicts:
#	hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
#	hibernate-core/src/main/java/org/hibernate/jpa/HibernateHints.java
#	hibernate-core/src/main/java/org/hibernate/query/internal/NamedQueryHelper.java
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
sebersole added 12 commits June 4, 2025 16:47
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
HHH-19459 - LockScope, FollowOnLocking
HHH-19501 - Session#lock w/ pessimistic locks for scopes
HHH-19502 - Disallow SKIP_LOCKED with Session#lock
HHH-19503 - Track a Dialect's level of support for locking joined tables
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