Skip to content
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

#3020 Query.forUpdate() works like REFRESH #3021

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

rbygrave
Copy link
Member

@rbygrave rbygrave commented Apr 1, 2023

Query.forUpdate() will load data into beans existing in the persistence context. In discussion the thinking is that we can think of this as a bug fix.

Query.forUpdate() will load data into beans existing in the persistence context.
In discussion the thinking is that we can think of this as a bug fix.
@rbygrave rbygrave added the bug label Apr 1, 2023
@rbygrave rbygrave self-assigned this Apr 1, 2023
@rbygrave rbygrave added this to the 13.17.0 milestone Apr 1, 2023
@rbygrave rbygrave merged commit 95fbdf3 into master Apr 6, 2023
2 checks passed
@rbygrave rbygrave deleted the feature/3020-forUpdateRefresh branch April 6, 2023 02:11
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.

Query.forUpdate works like REFRESH / Lock entity and refresh L1 and L2 cache in a single database call
1 participant