You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: src/main/antora/modules/ROOT/pages/is-new-state-detection.adoc
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,4 @@ See the {spring-data-commons-javadoc-base}/org/springframework/data/domain/Persi
23
23
_Note: Properties of `Persistable` will get detected and persisted if you use `AccessType.PROPERTY`.
24
24
To avoid that, use `@Transient`._
25
25
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.
0 commit comments