Jakarta Persistence (JPA) Annotation Type
jakarta.persistence.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:
- Jakarta Persistence (JPA) 1.0
Annotation Elements
String
name
- Since:
- Jakarta Persistence (JPA) 1.0
String
value
- Since:
- Jakarta Persistence (JPA) 1.0
Additional JDK methods inherited from java.lang.annotation.Annotation
annotationType(),
equals(Object),
hashCode(),
toString()