Browse Source

Update javadoc links.

This fixes javadoc links in a couple of adoc files.

Original pull request: #3260

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
(cherry picked from commit af10ad393a)
3.3.x
Tran Ngoc Nhan 9 months ago committed by Chris Bono
parent
commit
b804410360
  1. 2
      src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc
  2. 2
      src/main/antora/modules/ROOT/pages/object-mapping.adoc

2
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 @@ -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`._

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

@ -336,7 +336,7 @@ data class Person(var id: String, val name: String = "unknown") @@ -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

Loading…
Cancel
Save