Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7fff45e

Browse files
committed
Polishing.
Refine documentation links. See #2094
1 parent 2841b90 commit 7fff45e

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

‎src/main/antora/modules/ROOT/partials/id-generation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Spring Data uses identifier properties to identify entities.
55
That is, looking these up or creating statements targeting a particular row.
6-
The ID of an entity must be annotated with Spring Data's https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/annotation/Id.html[`@Id`] annotation.
6+
The ID of an entity must be annotated with Spring Data's {spring-data-commons-javadoc-base}/org/springframework/data/annotation/Id.html[`@Id`] annotation.
77

88
When your database has an auto-increment column for the ID column, the generated value gets set in the entity after inserting it into the database.
99

‎src/main/antora/modules/ROOT/partials/optimistic-locking.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Spring Data supports optimistic locking by means of a numeric attribute that is annotated with
2-
https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/annotation/Version.html[`@Version`] on the aggregate root.
2+
{spring-data-commons-javadoc-base}/org/springframework/data/annotation/Version.html[`@Version`] on the aggregate root.
33
Whenever Spring Data saves an aggregate with such a version attribute two things happen:
44

55
* The update statement for the aggregate root will contain a where clause checking that the version stored in the database is actually unchanged.

‎src/main/antora/resources/antora-resources/antora.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,21 @@ prerelease: ${antora-component.prerelease}
33

44
asciidoc:
55
attributes:
6-
copyright-year: ${current.year}
6+
attribute-missing: 'warn'
7+
chomp: 'all'
78
version: ${project.version}
9+
copyright-year: ${current.year}
810
springversionshort: ${spring.short}
911
springversion: ${spring}
10-
attribute-missing: 'warn'
1112
commons: ${springdata.commons.docs}
1213
include-xml-namespaces: false
13-
spring-data-commons-docs-url: https://docs.spring.io/spring-data/commons/reference
14-
spring-data-commons-javadoc-base: https://docs.spring.io/spring-data/commons/docs/${springdata.commons}/api/
15-
spring-data-jdbc-javadoc: https://docs.spring.io/spring-data/jdbc/docs/${version}/api/
16-
spring-data-r2dbc-javadoc: https://docs.spring.io/spring-data/r2dbc/docs/${version}/api/
14+
spring-data-commons-docs-url: https://docs.spring.io/spring-data/commons/reference/{commons}
15+
spring-data-commons-javadoc-base: '{spring-data-commons-docs-url}/api/java'
16+
spring-data-jdbc-javadoc: https://docs.spring.io/spring-data/relational/reference/{version}/api/java
17+
spring-data-r2dbc-javadoc: '{spring-data-jdbc-javadoc}'
1718
springdocsurl: https://docs.spring.io/spring-framework/reference/{springversionshort}
18-
springjavadocurl: https://docs.spring.io/spring-framework/docs/${spring}/javadoc-api
1919
spring-framework-docs: '{springdocsurl}'
20+
springjavadocurl: https://docs.spring.io/spring-framework/docs/${spring}/javadoc-api
2021
spring-framework-javadoc: '{springjavadocurl}'
2122
springhateoasversion: ${spring-hateoas}
2223
releasetrainversion: ${releasetrain}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /