From bec062ff5548be241b41c87a28afcdcf450dbc34 Mon Sep 17 00:00:00 2001 From: Luanne Misquitta Date: Mon, 25 Jan 2016 10:51:58 +0530 Subject: [PATCH] DATAGRAPH-765 - Documentation updates for custom query entity mapping and paths. --- src/main/asciidoc/reference/programming-model/repositories.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/asciidoc/reference/programming-model/repositories.adoc b/src/main/asciidoc/reference/programming-model/repositories.adoc index a96c379a2..d678c69ad 100644 --- a/src/main/asciidoc/reference/programming-model/repositories.adoc +++ b/src/main/asciidoc/reference/programming-model/repositories.adoc @@ -62,6 +62,8 @@ All other parameters types are provided directly (i.e. Strings, Longs, etc). [NOTE] ==== In the current version, custom queries do not support paging, sorting or a custom depth. +`@Query` does not support mapping a path to domain entities, as such, a path should not be returned from a Cypher query. +Instead, return nodes and relationships to have them mapped to domain entities. ==== === Query results