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
michael-simons
changed the title
Investigate why saveAll does not save relationships
Add additional tests for verifying persistence of related entities with assigned ids.
Aug 10, 2021
Uh oh!
There was an error while loading. Please reload this page.
Given entities
Application
andWorkflow
where they have one-to-many relationship:(:Application)-[:CONTAINS_WORKFLOW]->(:Workflow)
In Java, Application has outgoing relationship to List. Workflow has incoming relationship to Application.
The above Kotlin code wires up both relationships.
In order to create graph correctly I can run either one of the following save methods.
But, none of the following
saveAll
creates four nodes but no relationships are created b/w Application and WorkflowAlso, tried uncommenting the following "BOTH"
saveAll
calls. But, this did not work either.There seems a bug in
saveAll
method. Should we expect thesave
andsaveAll
behaves in the same manner.Note: We use SDN v6.1.3.
The text was updated successfully, but these errors were encountered: