cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Custome return type in spring data neo4j

Amit_Yadav
Node Link

I'm using spring data neo4j. I want to return custom type map from cypher. But I'm not able to bind in repository class. What I can use for custom return type(Which is not of Domain class or Entity class).

1 REPLY 1

glilienfield
Ninja
Ninja

You could use the Neo4jClient. It doesn't use entities, but queries directly and you extract the data as needed.

https://docs.spring.io/spring-data/neo4j/docs/current/reference/html/#neo4j-client