cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

@Relationship(type = "contains") is not mapping the values

Hi
my DTO looks like below:

CompileStatic
RelationshipProperties
class Contains implements GraphRelationship {
Id
GeneratedValue
Long id

Contains() {
// Keep OGM Happy
}

Contains(GraphNode mappingGroup, GraphNode mapping) {
this.startEntity = mappingGroup
this.endEntity = mapping
}
GraphNode startEntity

TargetNode
GraphNode endEntity
}

I have created a Test data with contains relationship
while debugging i am able to see values with neo4j query
But this values are not get mapped to this Dto

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online