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

Fixed a bug in sqlAgent#merge, mergeAndReturn that failed to update Entity with @Version annotation. #319

Merged
merged 1 commit into from
May 13, 2024

Conversation

HidekiSugimoto189
Copy link
Contributor

When updating an Entity annotated with @Version in sqlAgent#merge, or mergeAndReturn,
an optimistic lock error occurs because the Entity to be updated is set to the value of the version passed as an argument.
Corrected so that the value of the field annotated with @Version is not set to the Entity to be updated.

@HidekiSugimoto189 HidekiSugimoto189 merged commit df15022 into release/v0.x May 13, 2024
2 checks passed
@HidekiSugimoto189 HidekiSugimoto189 added this to the v0.26.8 milestone Aug 11, 2024
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