Jakarta Persistence (JPA) Annotation Type

jakarta.persistence.NamedQueries

Implemented Interfaces:
Annotation
Target:
Type

Declares multiple named Jakarta Persistence query language queries. Query names are scoped to the persistence unit. The NamedQueries annotation can be applied to an entity or mapped superclass.
See Also:
Since:
Jakarta Persistence (JPA) 1.0
The JPA Named Queries article explains how to use NamedQueries.

Public Static Fields

No JavaDoc Info for jakarta.persistence.NamedQueries/class

Public Instance Methods

(Required) An array of NamedQuery annotations.
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()