JPA Annotation

QueryHint

Implemented Interfaces:
Annotation

Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation.

Vendor-specific hints that are not recognized by a provider are ignored.

Since:
JPA 1.0

Public Annotation Attributes

String name default null
Name of the hint.
Since:
JPA 1.0
String value default null
Value of the hint.
Since:
JPA 1.0