diff --git a/pom.xml b/pom.xml
index b230bbb69e..0b7005c17c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.springframework.data
spring-data-relational-parent
- 2.2.0-SNAPSHOT
+ 2.2.0-version-doc-SNAPSHOT
pom
Spring Data Relational Parent
diff --git a/spring-data-jdbc-distribution/pom.xml b/spring-data-jdbc-distribution/pom.xml
index a922ef00a2..4c9e02e109 100644
--- a/spring-data-jdbc-distribution/pom.xml
+++ b/spring-data-jdbc-distribution/pom.xml
@@ -14,7 +14,7 @@
org.springframework.data
spring-data-relational-parent
- 2.2.0-SNAPSHOT
+ 2.2.0-version-doc-SNAPSHOT
../pom.xml
diff --git a/spring-data-jdbc/pom.xml b/spring-data-jdbc/pom.xml
index d00f04e6e3..9bea6d11be 100644
--- a/spring-data-jdbc/pom.xml
+++ b/spring-data-jdbc/pom.xml
@@ -6,7 +6,7 @@
4.0.0
spring-data-jdbc
- 2.2.0-SNAPSHOT
+ 2.2.0-version-doc-SNAPSHOT
Spring Data JDBC
Spring Data module for JDBC repositories.
@@ -15,7 +15,7 @@
org.springframework.data
spring-data-relational-parent
- 2.2.0-SNAPSHOT
+ 2.2.0-version-doc-SNAPSHOT
diff --git a/spring-data-relational/pom.xml b/spring-data-relational/pom.xml
index 6b2507aabe..ea86c46c8f 100644
--- a/spring-data-relational/pom.xml
+++ b/spring-data-relational/pom.xml
@@ -6,7 +6,7 @@
4.0.0
spring-data-relational
- 2.2.0-SNAPSHOT
+ 2.2.0-version-doc-SNAPSHOT
Spring Data Relational
Spring Data Relational support
@@ -14,7 +14,7 @@
org.springframework.data
spring-data-relational-parent
- 2.2.0-SNAPSHOT
+ 2.2.0-version-doc-SNAPSHOT
diff --git a/src/main/asciidoc/jdbc.adoc b/src/main/asciidoc/jdbc.adoc
index 7f8403ecde..dcf9fd1689 100644
--- a/src/main/asciidoc/jdbc.adoc
+++ b/src/main/asciidoc/jdbc.adoc
@@ -430,21 +430,8 @@ Embedded entities containing a `Collection` or a `Map` will always be considered
Such an entity will therefore never be `null` even when using @Embedded(onEmpty = USE_NULL).
[[jdbc.entity-persistence.state-detection-strategies]]
-=== Entity State Detection Strategies
-
-The following table describes the strategies that Spring Data JDBC offers for detecting whether an entity is new:
-
-.Options for detection whether an entity is new in Spring Data JDBC
-[options = "autowidth"]
-|===============
-|Id-Property inspection (the default)|By default, Spring Data JDBC inspects the identifier property of the given entity.
-If the identifier property is `null`, then the entity is assumed to be new. Otherwise, it is assumed to not be new.
-|Implementing `Persistable`|If an entity implements `Persistable`, Spring Data JDBC delegates the new detection to the `isNew(…)` method of the entity.
-See the link:$$https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html$$[Javadoc] for details.
-|Implementing `EntityInformation`|You can customize the `EntityInformation` abstraction used in the `SimpleJdbcRepository` implementation by creating a subclass of `JdbcRepositoryFactory` and overriding the `getEntityInformation(…)` method.
-You then have to register the custom implementation of `JdbcRepositoryFactory` as a Spring bean.
-Note that this should rarely be necessary. See the link:{javadoc-base}org/springframework/data/jdbc/repository/support/JdbcRepositoryFactory.html[Javadoc] for details.
-|===============
+include::{spring-data-commons-docs}/entity-callbacks.adoc[leveloffset=+1]
+
[[jdbc.entity-persistence.id-generation]]
=== ID Generation
@@ -889,7 +876,7 @@ The following table describes the available events:
WARNING: Lifecycle events depend on an `ApplicationEventMulticaster`, which in case of the `SimpleApplicationEventMulticaster` can be configured with a `TaskExecutor`, and therefore gives no guarantees when an Event is processed.
-include::{spring-data-commons-docs}/entity-callbacks.adoc[leveloffset=+1]
+include::{spring-data-commons-docs}/is-new-state-detection.adoc[leveloffset=+2]
[[jdbc.entity-callbacks]]
=== Store-specific EntityCallbacks