Skip to content

Commit bd4c808

Browse files
committed
Remove EntityInformation customization from Entity State Detection Strategies.
Customizing EntityInformation has only a single use-case within JPA. All other modules should use customization using the mentioned mechanisms as the underlying MappingContext handles typically IsNew detection but customizing the MappingContext (PersistentEntity) is a deeply involved task. Closes #3364
1 parent 52b3e50 commit bd4c808

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,4 @@ See the {spring-data-commons-javadoc-base}/org/springframework/data/domain/Persi
2323
_Note: Properties of `Persistable` will get detected and persisted if you use `AccessType.PROPERTY`.
2424
To avoid that, use `@Transient`._
2525

26-
|Providing a custom `EntityInformation` implementation
27-
|You can customize the `EntityInformation` abstraction used in the repository base implementation by creating a subclass of the module specific repository factory and overriding the `getEntityInformation(…)` method.
28-
You then have to register the custom implementation of module specific repository factory as a Spring bean.
29-
Note that this should rarely be necessary.
3026
|===

0 commit comments

Comments
 (0)