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
Copy file name to clipboardExpand all lines: spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/AbstractStringBasedJpaQuery.java
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,6 @@ public AbstractStringBasedJpaQuery(JpaQueryMethod method, EntityManager em, Decl
Copy file name to clipboardExpand all lines: src/main/antora/modules/ROOT/pages/jpa/query-methods.adoc
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -376,6 +376,8 @@ Sometimes, no matter how many features you try to apply, it seems impossible to
376
376
377
377
You have the ability to get your hands on the query, right before it's sent to the `EntityManager` and "rewrite" it.
378
378
That is, you can make any alterations at the last moment.
379
+
Query rewriting applies to the actual query and, when applicable, to count queries.
380
+
Count queries are optimized and therefore, either not necessary or a count is obtained through other means, such as derived from a Hibernate `SelectionQuery`.
0 commit comments