Skip to content

Commit 0e2fb43

Browse files
committed
Polishing.
Fine tuned wording. Fixed a minor typo. Original pull request #3384 See #3383
1 parent 0397b8d commit 0e2fb43

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/main/antora/modules/ROOT/pages/aot.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ However, there users may fine tune the configuration with following options.
3939
|`spring.aot.data.accessors.include`
4040
|Comma separated list of FQCN for which to contribute Bytecode for generated Type/Property Accessors.
4141
Ant-style include patterns matching package names (e.g. `example.springdata.**`) or type names inclusion.
42-
Inclusion pattern matches are evaluated before exclusions for broad exclusion and selective inclusion.
42+
If a type is matched by an inclusion and an exclusion, the inclusion wins and the type is considered included.
4343

4444
|`spring.aot.data.accessors.exclude`
4545
|Comma separated list of FQCN for which to skip contribution of Bytecode for generated Type/Property Accessors.
4646
Ant-style exclude patterns matching package names (e.g. `example.springdata.**`) or type names exclusion.
47-
Exclusion pattern matches are evaluated after inclusions for broad exclusion and selective inclusion.
47+
If a type is matched by an inclusion and an exclusion, the inclusion wins and the type is considered included.
4848

4949
|`spring.aot.repositories.enabled`
5050
|Boolean flag to control contribution of Source Code for Repository Interfaces
5151

5252
|`spring.aot.[module-name].repositories.enabled`
53-
|Boolean flag to control contribution of Source Code for Repository Interfaces for a certain module (eg. `cassandra`, `jdbc`, `jpa`, `mongodb`)
53+
|Boolean flag to control contribution of Source Code for Repository Interfaces for a certain module (e.g. `cassandra`, `jdbc`, `jpa`, `mongodb`)
5454

5555
|`spring.aot.repositories.metadata.enabled`
5656
|Boolean flag to control contribution of JSON repository metadata containing query methods and actual query strings.

src/main/antora/modules/ROOT/pages/auditing.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ class Customer {
3434
As you can see, the annotations can be applied selectively, depending on which information you want to capture.
3535
The annotations, indicating to capture when changes are made, can be used on properties of type JDK8 date and time types, `long`, `Long`, and legacy Java `Date` and `Calendar`.
3636

37-
The time giving instance is provided by a `org.springframework.data.auditing.DateTimeProvider`, defaulting to `CurrentDateTimeProvider`, unless configured via the `dateTimeProviderRef` attribute when enabling auditing, or a dedicated `AuditingHandler` respectively `DateTimeProvider` bean being present in the `ApplicationContext`.
37+
The time giving instance is provided by a `org.springframework.data.auditing.DateTimeProvider`.
38+
By default this is a `CurrentDateTimeProvider`.
39+
This can be changed via the `dateTimeProviderRef` attribute when enabling auditing, or a dedicated `AuditingHandler` or `DateTimeProvider` bean being present in the `ApplicationContext`.
40+
3841

3942
Auditing metadata does not necessarily need to live in the root level entity but can be added to an embedded one (depending on the actual store in use), as shown in the snippet below.
4043

0 commit comments

Comments
 (0)