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
class CustomizedUserRepositoryImpl implements CustomizedUserRepository {
25
25
26
+
@Override
26
27
public void someCustomMethod(User user) {
27
28
// Your custom implementation
28
29
}
@@ -32,15 +33,21 @@ class CustomizedUserRepositoryImpl implements CustomizedUserRepository {
32
33
[NOTE]
33
34
====
34
35
The most important part of the class name that corresponds to the fragment interface is the `Impl` postfix.
35
-
You can customize the storespecific postfix by setting `@Enable<StoreModule>Repositories#repositoryImplementationPostfix`.
36
+
You can customize the store-specific postfix by setting `@Enable<StoreModule>Repositories(repositoryImplementationPostfix = …)`.
36
37
====
37
38
38
39
[WARNING]
39
40
====
40
-
Historically Spring Data custom repository behaviour followed a https://docs.spring.io/spring-data/commons/docs/1.9.0.RELEASE/reference/html/#repositories.single-repository-behaviour[different naming pattern] that is not recommended but still supported.
41
-
A type located in the same package as the repository interface, matching _repository interface name_ + _implementation postfix_, is considered a custom implementation and will be treated as such.
42
-
This can lead to unexpected failures. +
43
-
Please consider the old extension strategy deprecated, with the intention of removal in the next major version.
41
+
Historically, Spring Data custom repository implementation discovery followed a
0 commit comments