Skip to content

Commit 068c19f

Browse files
committed
Polishing.
Replace self xrefs to <<…>> self reference syntax. See #2912
1 parent 8c342a5 commit 068c19f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/main/antora/modules/ROOT/pages/object-mapping.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ For that we use the following algorithm:
7878
1. If the property is immutable but exposes a `with…` method (see below), we use the `with…` method to create a new entity instance with the new property value.
7979
2. If property access (i.e. access through getters and setters) is defined, we're invoking the setter method.
8080
3. If the property is mutable we set the field directly.
81-
4. If the property is immutable we're using the constructor to be used by persistence operations (see xref:object-mapping.adoc#mapping.object-creation[Object creation]) to create a copy of the instance.
81+
4. If the property is immutable we're using the constructor to be used by persistence operations (see <<mapping.object-creation,Object creation>>) to create a copy of the instance.
8282
5. By default, we set the field value directly.
8383

8484
[[mapping.property-population.details]]
8585
.Property population internals
8686
****
87-
Similarly to our xref:object-mapping.adoc#mapping.object-creation.details[optimizations in object construction] we also use Spring Data runtime generated accessor classes to interact with the entity instance.
87+
Similarly to our <<mapping.object-creation.details,optimizations in object construction>> we also use Spring Data runtime generated accessor classes to interact with the entity instance.
8888
8989
[source,java]
9090
----
@@ -299,7 +299,7 @@ Spring Data automatically tries to detect a persistent entity's constructor to b
299299
The resolution algorithm works as follows:
300300

301301
1. If there is a constructor that is annotated with `@PersistenceCreator`, it is used.
302-
2. If the type is a xref:object-mapping.adoc#mapping.kotlin[Kotlin data cass] the primary constructor is used.
302+
2. If the type is a <<mapping.kotlin,Kotlin data cass>> the primary constructor is used.
303303
3. If there is a single static factory method annotated with `@PersistenceCreator` then it is used.
304304
4. If there is a single constructor, it is used.
305305
5. If there are multiple constructors and exactly one is annotated with `@PersistenceCreator`, it is used.

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

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
:spring-framework-docs: {springDocsUrl}
2-
:spring-framework-javadoc: {springJavadocUrl}
3-
41
ifndef::store[]
52
:store: Jpa
63
endif::[]

0 commit comments

Comments
 (0)