Neo4J has the notion of traversal API which is mapped to Cypher. That being said, you have callbacks to implement rules on the traversal.
Explore how to map that in the JPA world OGM exposes. Native query + some hints?
I don't know enough of the feature yet to tell how precisely.
|