Spring Data Jpa

org.springframework.data.jpa.repository
Annotation Type QueryHints


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @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 Summary
 javax.persistence.QueryHint[] value
           
 

value

public abstract javax.persistence.QueryHint[] value
Default:
{}

Spring Data Jpa

Copyright © 2011 SpringSource. All Rights Reserved.