Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

store operation: single ancestor or multiple nodes? #520

Answered by hg-ms
guykatz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
The storeAll(E,H,Q) is the recommended solution to update several objects at once. It will apply a Lazy-Storer to all three objects. The storeAll method will either persist all supplied instance or non and throw an exception in case of error.

Using store(A) would work too if using an Eager-Storer but this will store everything reachable by references from “A” and therefore cause a lot of unnecessary overhead. In your case that would write out the whole graph again starting at “A”

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guykatz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants