We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b4028d commit 49a1d24Copy full SHA for 49a1d24
src/main/java/org/springframework/data/repository/core/RepositoryInformation.java
@@ -86,6 +86,11 @@ default boolean hasCustomMethod() {
86
return getQueryMethods().stream().anyMatch(this::isCustomMethod);
87
}
88
89
+ /**
90
+ * Returns whether the configured repository interface has query methods at all.
91
+ *
92
+ * @return
93
+ */
94
default boolean hasQueryMethods() {
95
return getQueryMethods().iterator().hasNext();
96
0 commit comments