cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

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

rdkolhe
Node

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