Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-01-2018 02:32 AM
Hi Team,
I have a query on how to save a subclass or ArrayList inside the relationship entity?
My issue: When I pass the data to a save method from Neo4JRepository there is no issue or error, but when I retrieve or lookup in the database there is no data present.
@RelationshipEntity(type = "HAS_DATA")
public class Parent{
private Long id;
private Long sequenceId;
Set<Child> = new HashSet<>();
@StartNode
SomeClass1 someClass1;
@EndNode
SomeClass2 someClass2;
//Getter and Setters
}
public Child{
Long Id;
String name;
//Getters and Setters
}
How do I achieve this?
All the sessions of the conference are now available online