QueryHintannotations to be bound to methods. It will be evaluated when using
Queryon 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.
|Modifier and Type||Optional Element and Description|
Defines whether the configured
public abstract javax.persistence.QueryHint value
QueryHints to apply when the query will be executed.
public abstract boolean forCounting
QueryHints shall be applied for count queries during pagination as well. Defaults to true.
Copyright © 2011-2012-2012 SpringSource. All Rights Reserved.