This is an automated email from the ASF dual-hosted git repository. aadamchik pushed a commit to branch STABLE-4.1 in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/STABLE-4.1 by this push: new 6cc496e prefetch semantics docs chapter reorg, clarification 6cc496e is described below commit 6cc496e39c483887af320f4348526b125c379aaa Author: Andrus Adamchik <and...@objectstyle.com> AuthorDate: Thu Jul 30 10:09:54 2020 +0300 prefetch semantics docs chapter reorg, clarification --- .../cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/tuning.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/tuning.adoc b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/tuning.adoc index c89ed09..0e4ff7b 100644 --- a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/tuning.adoc +++ b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/tuning.adoc @@ -103,7 +103,7 @@ and more data processing that needs to be done on the Cayenne side. different prefetches. `<<sqlselect,SQLSelect>>` query supports "JOINT" and "DISJOINT_BY_ID". It does not work with "DISJOINT", as the query does not provide -enough information to Cayenne to build dependent prefetch queries. So "DISJOINT" will be quietly ignored. "JOINT" +enough information to Cayenne to build dependent prefetch queries. So "DISJOINT" will result in exception. "JOINT" prefetching requires a bit of effort shaping the SQL to include the right columns in the result and label them properly to be convertable into object properties. The main rules to follow are: