You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Scenario: you have 10 new person nodes and want to save them with a relation to an existing adress.
If you use the PersonRepository.saveAll, the adress will be saved 10 times, even if it is the same node on every person.
In Neo4jTemplate.saveAllImpl after saving the persons, the relationships are processed. Here a new ProcessingStateMachine is created for each node. If you would reuse the same StateMachine, it would not write/process the same nodes again and again.
The text was updated successfully, but these errors were encountered:
Hey,
Scenario: you have 10 new person nodes and want to save them with a relation to an existing adress.
If you use the PersonRepository.saveAll, the adress will be saved 10 times, even if it is the same node on every person.
In Neo4jTemplate.saveAllImpl after saving the persons, the relationships are processed. Here a new ProcessingStateMachine is created for each node. If you would reuse the same StateMachine, it would not write/process the same nodes again and again.
The text was updated successfully, but these errors were encountered: