cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject [cayenne] branch master updated: prefetch semantics docs chapter reorg, clarification
Date Thu, 30 Jul 2020 07:02:03 GMT
This is an automated email from the ASF dual-hosted git repository.

aadamchik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/master by this push:
     new e49899f  prefetch semantics docs chapter reorg, clarification
e49899f is described below

commit e49899f255ae46103ee4a15a3aa0d0691853916d
Author: Andrus Adamchik <andrus@objectstyle.com>
AuthorDate: Thu Jul 30 10:01:55 2020 +0300

    prefetch semantics docs chapter reorg, clarification
---
 .../cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/tuning.adoc  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 87f64e1..4837631 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
@@ -54,9 +54,7 @@ query.prefetch(Artist.PAINTINGS.disjoint())
 If a query is fetching DataRows, all "disjoint" prefetches are ignored, only "joint" prefetches
are executed
 (see prefetching semantics discussion below for what disjoint and joint prefetches mean).
 
-===== Prefetch Semantics
-
-Prefetch semantics defines a strategy to prefetch relationships. Depending on semantics,
Cayenne would generate
+A strategy to prefetch relationships is defined by prefetch "semantics". Depending on semantics,
Cayenne would generate
 different types of queries. The end result is the same - query root objects with related
objects fully resolved.
 However semantics can affect performance, in some cases significantly. There are 3 types
of prefetch semantics
 defined as constants in `org.apache.cayenne.query.PrefetchTreeNode`:


Mime
View raw message