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

docs: add sample for using Batch DML with Spring Data JPA #2357

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

olavloite
Copy link
Collaborator

Adds a sample that shows how to use Batch DML in an application that uses Spring Data JPA / Hibernate to communicate with PGAdapter.

Executing a large number of DML statements as a single DML batch can significantly reduce the number of round-trips to Spanner, and thereby the overall latency of a transaction that inserts/updates a large number of records.

This feature requires version 0.39.0 or higher of PGAdapter.

Adds a sample that shows how to use Batch DML in an application that
uses Spring Data JPA / Hibernate to communicate with PGAdapter.

Executing a large number of DML statements as a single DML batch
can significantly reduce the number of round-trips to Spanner, and
thereby the overall latency of a transaction that inserts/updates
a large number of records.

This feature requires version 0.39.0 or higher of PGAdapter.
@olavloite olavloite merged commit 65d82d8 into postgresql-dialect Sep 23, 2024
41 checks passed
@olavloite olavloite deleted the spring-data-jpa-batch-dml-sample branch September 23, 2024 07:50
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.

1 participant