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
Do not use tuple-typed queries for derived count queries.
Prior to this change interface projections used to set useTupleQuery() to true on JpaQueryCreator, which was later also reused to build the count query. This caused trouble when reading results expecting a numeric value.
Closes#4230
Original pull request: #4235
Copy file name to clipboardExpand all lines: spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/query/PartTreeJpaQueryIntegrationTests.java
+32-5Lines changed: 32 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,7 @@
1
1
/*
2
2
* Copyright 2011-present the original author or authors.
3
3
*
4
-
* Licensed under the Apache License, Version 2.0 (the "License
5
-
import org.springframework.aop.framework.Advised;
6
-
");
4
+
* Licensed under the Apache License, Version 2.0 (the "License");
7
5
* you may not use this file except in compliance with the License.
0 commit comments