Skip to content

Commit af10ad3

Browse files
ngocnhan-tran1996onobc
authored andcommitted
Update javadoc links.
This fixes javadoc links in a couple of adoc files. Original pull request: #3260 Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 18f27e7 commit af10ad3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If no version property is present Spring Data falls back to inspection of the id
1818

1919
|Implementing `Persistable`
2020
|If an entity implements `Persistable`, Spring Data delegates the new detection to the `isNew(…)` method of the entity.
21-
See the link:{spring-data-commons-javadoc-base}/index.html?org/springframework/data/domain/Persistable.html[Javadoc] for details.
21+
See the {spring-data-commons-javadoc-base}/org/springframework/data/domain/Persistable.html[Javadoc] for details.
2222

2323
_Note: Properties of `Persistable` will get detected and persisted if you use `AccessType.PROPERTY`.
2424
To avoid that, use `@Transient`._

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ data class Person(var id: String, val name: String = "unknown")
336336
Every time the `name` parameter is either not part of the result or its value is `null`, then the `name` defaults to `unknown`.
337337

338338
NOTE: Delegated properties are not supported with Spring Data. The mapping metadata filters delegated properties for Kotlin Data classes.
339-
In all other cases you can exclude synthetic fields for delegated properties by annotating the property with `@delegate:org.springframework.data.annotation.Transient`.
339+
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`].
340340

341341
[[property-population-of-kotlin-data-classes]]
342342
=== Property population of Kotlin data classes

0 commit comments

Comments
 (0)