Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-09-2020 10:17 AM
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
09-21-2020 03:27 AM
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.
All the sessions of the conference are now available online