We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SimpleJpaRepository.deleteAllByIdInBatch(…)
1 parent 4f55b7a commit 4b312adCopy full SHA for 4b312ad
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java
@@ -99,7 +99,7 @@ public abstract class QueryUtils {
99
100
public static final String COUNT_QUERY_STRING = "select count(%s) from %s x";
101
public static final String DELETE_ALL_QUERY_STRING = "delete from %s x";
102
- public static final String DELETE_ALL_QUERY_BY_ID_STRING = "delete from %s x where %s in :ids";
+ public static final String DELETE_ALL_QUERY_BY_ID_STRING = "delete from %s x where x.%s in :ids";
103
104
// Used Regex/Unicode categories (see https://www.unicode.org/reports/tr18/#General_Category_Property):
105
// Z Separator
0 commit comments