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

Public Instance Methods

String name()
Name of the hint.
Since:
Jakarta Persistence (JPA) 1.0
String value()
Value of the hint.
Since:
Jakarta Persistence (JPA) 1.0

Annotation Elements

This is a marker annotation with no members/elements.

Additional JDK methods inherited from java.lang.annotation.Annotation

java.lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals(Object), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()