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.

Trying to get every relations of every types

Hello,

Is it possible to make an OGM NodeEntity listen for every relation types ?
In example:

This code is getting every relations of type "RELATION", but this is not what I want:

@Relationship(type = "RELATION", direction = Relationship.UNDIRECTED)
protected List<BaseRelation> relations;

What I'm searching for is to get every relations of every types, I tried the following which didn't worked, it gets no relation:

@Relationship(direction = Relationship.UNDIRECTED)
protected List<BaseRelation> relations;

Is it possible to achieve it ?

0 REPLIES 0