Skip to content

Implement proper bulk loads in the transaction manager - #3233

Open
gbrodman wants to merge 1 commit into
google:masterfrom
gbrodman:bulkLoads
Open

gbrodman wants to merge 1 commit into
google:masterfrom
gbrodman:bulkLoads

Conversation

@gbrodman

@gbrodman gbrodman commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Previously we just looped over and loaded each entity one by one. It's better to try to limit it to fewer queries (ideally one). Fortunately, Hibernate supports bulk load of entities with both compound and simple IDs.


This change is Reviewable

Previously we just looped over and loaded each entity one by one. It's
better to try to limit it to fewer queries (ideally one). Fortunately,
Hibernate supports bulk load of entities with both compound and simple
IDs.
}

private static class CompoundId implements Serializable {
private static class CompoundId extends ImmutableObject implements Serializable {
}

private static class NamedCompoundId implements Serializable {
private static class NamedCompoundId extends ImmutableObject implements Serializable {
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