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.

Hydrating Relationships in OGM

I am developing a fairly large application in Spring Boot using OGM. One of my gripes is that I can't retrieve just a relationship. I have to get the nodes at both ends of the relationship as well. Which means I have to create a new class to return two nodes plus the relationship. But I already have those end nodes. What I want if the relationship, which has attributes on it.

What I get is something that works in cypher, but fails in OGM with

Relationship (3576)-[VOYAGEINVOLVEMENT]->(3591) cannot be fully hydrated because one or more required node entities have not been part of the result set.

Oh, I know I can get around this. But its just a pain I could do with out.

0 REPLIES 0