This is an automated email from the ASF dual-hosted git repository.

ntimofeev 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 cc82ab953 CAY-2828 Rename values in 
`org.apache.cayenne.configuration.Constants`
cc82ab953 is described below

commit cc82ab9534dc9a4cc37336017a7a968db78d06b1
Author: stariy95 <stari...@gmail.com>
AuthorDate: Mon Nov 27 16:46:15 2023 +0400

    CAY-2828 Rename values in `org.apache.cayenne.configuration.Constants`
---
 .../asciidoc/_cayenne-guide/configurationProperties.adoc   | 12 ++++++------
 .../src/docs/asciidoc/_cayenne-guide/part2/customize.adoc  |  2 +-
 .../src/docs/asciidoc/_cayenne-guide/part2/tuning.adoc     |  2 +-
 .../docs/asciidoc/_cayenne-guide/serviceCollections.adoc   | 14 +++++++-------
 4 files changed, 15 insertions(+), 15 deletions(-)

diff --git 
a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/configurationProperties.adoc
 
b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/configurationProperties.adoc
index e09da4494..f748702db 100644
--- 
a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/configurationProperties.adoc
+++ 
b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/configurationProperties.adoc
@@ -71,35 +71,35 @@ Note that the property names below are defined as constants 
in `org.apache.cayen
    ** Possible values: any positive int
    ** Default value: 10000
 
-* `cayenne.server.contexts_sync_strategy`
+* `cayenne.contexts_sync_strategy`
    defines whether peer ObjectContexts should receive snapshot events after 
commits from other contexts. If true (_default_),
    the contexts would automatically synchronize their state with peers.
     ** Possible values: true, false
     ** Default value: false (since 4.1)
 
-* `cayenne.server.object_retain_strategy`
+* `cayenne.object_retain_strategy`
    defines fetched objects retain strategy for ObjectContexts. When weak or 
soft strategy is used, objects retained by ObjectContext
    that have no local changes can potentially get garbage collected when JVM 
feels like doing it.
     ** Possible values: weak, soft, hard
     ** Default value: weak
 
-* `cayenne.server.max_id_qualifier_size`
+* `cayenne.max_id_qualifier_size`
    defines a maximum number of ID qualifiers in the WHERE clause of queries 
that are generated for paginated queries and for DISJOINT_BY_ID prefetch 
processing.
    This is needed to avoid hitting WHERE clause size limitations and memory 
usage efficiency.
     ** Possible values: any positive int
     ** Default value: 10000
 
-* `cayenne.server.external_tx`
+* `cayenne.external_tx`
    defines whether runtime should use external transactions.
     ** Possible values: true, false
     ** Default value: false
 
-* `cayenne.server.query_execution_time_logging_threshold`
+* `cayenne.query_execution_time_logging_threshold`
    defines the minimum number of milliseconds a query must run before it is 
logged.
    A value less than or equal to zero disables logging.
    ** Default value: 0
 
-* `cayenne.server.domain.name`
+* `cayenne.domain.name`
    defines an optional name of the runtime DataDomain.
    If not specified, the name is inferred from the configuration name.
    ** Default value: none
diff --git 
a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/customize.adoc
 
b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/customize.adoc
index d96d009b2..7afde326d 100644
--- 
a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/customize.adoc
+++ 
b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part2/customize.adoc
@@ -219,7 +219,7 @@ There are two ways to set service properties. The most 
obvious one is to pass it
 
 [source]
 ----
-$ java -Dcayenne.server.contexts_sync_strategy=false ...
+$ java -Dcayenne.contexts_sync_strategy=false ...
 ----
 
 A second one is to contribute a property to 
`o.a.c.configuration.DefaultRuntimeProperties.properties` map (see the next 
section on how to do that).
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 9bf6e8f05..ea6c2b9ba 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
@@ -345,7 +345,7 @@ So we've made a good case for disabling synchronization in 
most webapps. To do t
 
 [source]
 ----
-$ java -Dcayenne.server.contexts_sync_strategy=false
+$ java -Dcayenne.contexts_sync_strategy=false
 ----
 
 Or by changing the standard properties Map in a custom extensions module:
diff --git 
a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/serviceCollections.adoc
 
b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/serviceCollections.adoc
index 2ae452db4..856919831 100644
--- 
a/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/serviceCollections.adoc
+++ 
b/docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/serviceCollections.adoc
@@ -26,27 +26,27 @@ Note that the collection keys below are defined as 
constants in `org.apache.caye
 .^|`Map<String,String>`
 .^|Properties used by built-in Cayenne services. The keys in this map are the 
property names from the table in Appendix A.
 
-.^|`cayenne.server.adapter_detectors`
+.^|`cayenne.adapter_detectors`
 .^|`List<DbAdapterDetector>`
 .^|Contains objects that can discover the type of current database and install 
the correct DbAdapter in runtime.
 
-.^|`cayenne.server.domain_listeners`
+.^|`cayenne.domain_listeners`
 .^|`List<Object>`
 .^|Stores DataDomain listeners.
 
-.^|`cayenne.server.project_locations`
+.^|`cayenne.project_locations`
 .^|`List<String>`
 .^|Stores locations of the one of more project configuration files.
 
-.^|`cayenne.server.default_types`
+.^|`cayenne.default_types`
 .^|`List<ExtendedType>`
-.^|Stores default adapter-agnostic ExtendedTypes. Default ExtendedTypes can be 
overridden / extended by DB-specific DbAdapters as well as by user-provided 
types configured in another colltecion (see `"cayenne.server.user_types"`).
+.^|Stores default adapter-agnostic ExtendedTypes. Default ExtendedTypes can be 
overridden / extended by DB-specific DbAdapters as well as by user-provided 
types configured in another colltecion (see `"cayenne.user_types"`).
 
-.^|`cayenne.server.user_types`
+.^|`cayenne.user_types`
 .^|`List<ExtendedType>`
 .^|Stores a user-provided ExtendedTypes. This collection will be merged into a 
full list of ExtendedTypes and would override any ExtendedTypes defined in a 
default list, or by a DbAdapter.
 
-.^|`cayenne.server.type_factories`
+.^|`cayenne.type_factories`
 .^|`List<ExtendedTypeFactory>`
 .^|Stores default and user-provided ExtendedTypeFactories. ExtendedTypeFactory 
allows to define ExtendedTypes dynamically for the whole group of Java classes. 
E.g. Cayenne supplies a factory to map all Enums regardless of their type.
 

Reply via email to