Understanding EclipseLink, 2.4
  Go To Table Of Contents
 Search
 PDF

About JPA Query Hints

You can use a query hint to customize or optimize a JPA query. All EclipseLink query hints are defined in the QueryHints class in the org.eclipse.persistence.config package.

For descriptions of the query hints available in EclipseLink, see "JPA Query Customization Extensions" in Java Persistence API (JPA) Extensions Reference for EclipseLink. See also Section 10.3.1 "NamedQuery Annotation" in the JPA Specification.

http://jcp.org/en/jsr/detail?id=317

Use EclipseLink JPA query hints to:

When you set a hint, you can set the value using the public static final field in the appropriate configuration class in org.eclipse.persistence.config package, including the following: