From 80da756a427bdfece440bfbfc42f5aae112ff7a2 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Mon, 22 Mar 2021 11:09:45 +0100 Subject: [PATCH] Corrects documentation about query derivation. Closes #947 --- src/main/asciidoc/jdbc.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/asciidoc/jdbc.adoc b/src/main/asciidoc/jdbc.adoc index 942f5e309..7f8403ecd 100644 --- a/src/main/asciidoc/jdbc.adoc +++ b/src/main/asciidoc/jdbc.adoc @@ -605,7 +605,9 @@ NOTE: Query derivation is limited to properties that can be used in a `WHERE` cl === Query Lookup Strategies The JDBC module supports defining a query manually as a String in a `@Query` annotation or as named query in a property file. -Deriving a query from the name of the method is currently not supported. + +Deriving a query from the name of the method is is currently limited to simple properties, that means properties present in the aggregate root directly. +Also, only select queries are supported by this approach. [[jdbc.query-methods.at-query]] === Using `@Query`