Query for a Path and map it with Spring 2.4


I am trying to execute a dynamic query, which its number of params can vary, against Neo4j using Spring Boot.

I've tried using Neo4jClient and Neo4jTemplate but the Neo4jTemplate methods don't work for me so I'm left with Neo4jClient and its awful mapping system which is not the easiest way to map a path into a List of objects.

What I'm trying right now is to somehow save the segments and then later retrieve each node separately but I've yet to see if this will work.

Any help is appreciated.

any updates on that?

You mean something like this: Custom queries :: Spring Data Neo4j ?