Annotation Interface QueryHints
Wrapper annotation to allow 
QueryHint annotations to be bound to methods. It will be evaluated when using
Query on a query method or if you derive the query from the method name. If you rely on named queries either
use the XML or annotation based way to declare QueryHints in combination with the actual named query
declaration.- Author:
- Oliver Gierke
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionbooleanDefines whether the configuredQueryHints shall be applied for count queries during pagination as well.jakarta.persistence.QueryHint[]TheQueryHints to apply when the query will be executed.
- 
Element Details- 
valuejakarta.persistence.QueryHint[] valueTheQueryHints to apply when the query will be executed.- Returns:
 - Default:
- {}
 
- 
forCountingboolean forCountingDefines whether the configuredQueryHints shall be applied for count queries during pagination as well. Defaults to true.- Returns:
 - Default:
- true
 
 
-