From 3486e38e9a24bf65ec52e2c5729350eab3cecd9b Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Mon, 24 Mar 2025 23:05:22 +0700 Subject: [PATCH] Update javadoc links. This fixes javadoc links in a couple of adoc files. Original pull request: #3260 Signed-off-by: Tran Ngoc Nhan (cherry picked from commit af10ad393a3018d960a1d57ac20a4b04f7efa501) --- src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc | 2 +- src/main/antora/modules/ROOT/pages/object-mapping.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc b/src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc index 43e7872e9..f37b9cd4d 100644 --- a/src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc +++ b/src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc @@ -18,7 +18,7 @@ If no version property is present Spring Data falls back to inspection of the id |Implementing `Persistable` |If an entity implements `Persistable`, Spring Data delegates the new detection to the `isNew(…)` method of the entity. -See the link:{spring-data-commons-javadoc-base}/index.html?org/springframework/data/domain/Persistable.html[Javadoc] for details. +See the {spring-data-commons-javadoc-base}/org/springframework/data/domain/Persistable.html[Javadoc] for details. _Note: Properties of `Persistable` will get detected and persisted if you use `AccessType.PROPERTY`. To avoid that, use `@Transient`._ diff --git a/src/main/antora/modules/ROOT/pages/object-mapping.adoc b/src/main/antora/modules/ROOT/pages/object-mapping.adoc index a383d8a41..dcf9393c4 100644 --- a/src/main/antora/modules/ROOT/pages/object-mapping.adoc +++ b/src/main/antora/modules/ROOT/pages/object-mapping.adoc @@ -336,7 +336,7 @@ data class Person(var id: String, val name: String = "unknown") Every time the `name` parameter is either not part of the result or its value is `null`, then the `name` defaults to `unknown`. NOTE: Delegated properties are not supported with Spring Data. The mapping metadata filters delegated properties for Kotlin Data classes. -In all other cases you can exclude synthetic fields for delegated properties by annotating the property with `@delegate:org.springframework.data.annotation.Transient`. +In all other cases you can exclude synthetic fields for delegated properties by annotating the property with {spring-data-commons-javadoc-base}/org/springframework/data/annotation/Transient.html[`@Transient`]. [[property-population-of-kotlin-data-classes]] === Property population of Kotlin data classes