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.

Query by Example doesn't load relationships

aldrinm
Node Link

In the Spring Data Neo4j Rx, using the Query-by-example doesn't seem to load the relationship in the imperative mode. Reactive mode works fine. If you query, for example,

movieRepository.findOneByTitle("The Matrix")

it returns the movie with actorsAndRoles and directors populated correctly. However, using,

movieRepository.findOne(Example.of(new MovieEntity("The Matrix", null)))

returns the movie without actorsAndRoles and directors populated.

MovieRepository in this case extends Neo4jRepository,

MovieRepository extends Neo4jRepository

Is this by design? Is there a way I can get the loaded relationship data when using Example ?

Thanks

1 REPLY 1

Thanks for the finding. I created an issue https://jira.spring.io/browse/DATAGRAPH-1384 to track this.
The findByExample does not query right now for the relationships in imperative and reactive programming mode.