Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update javadoc links #3260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion src/main/antora/modules/ROOT/pages/object-mapping.adoc
Original file line number Diff line number Diff line change
@@ -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