Skip to content

Add support for upsert with batching #2140

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

Merged
merged 4 commits into from
Mar 7, 2025
Merged

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Mar 6, 2025

Fix #2139

I refactored the exising test class, but the additional tests are in this commit: 08d0afe

I've also added some more context on why we set the default batch size to 0 here: 48ef5d5

@DavideD DavideD changed the title UpsertAll first draft Add support for upsert with batching Mar 7, 2025
@DavideD DavideD marked this pull request as ready for review March 7, 2025 10:10
@DavideD DavideD requested a review from gavinking March 7, 2025 10:21
Copy link
Member

@gavinking gavinking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DavideD DavideD merged commit ede60d8 into hibernate:main Mar 7, 2025
19 checks passed
@DavideD DavideD deleted the 2139-upsertAll branch March 7, 2025 12:43
@DavideD
Copy link
Member Author

DavideD commented Mar 7, 2025

Merged, thanks

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.

Add missing upsertAll and upsertMultiple to the StatelessSession
2 participants