JPA Annotation

NamedQueries

Target: TYPE
Implemented Interfaces:
Annotation

Specifies multiple named Java 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:
NamedQuery
Since:
JPA 1.0
The JPA Named Queries article explains how to use NamedQueries.

Public Annotation Attributes

NamedQuery[] value default null
(Required) An array of NamedQuery annotations.
Since:
JPA 1.0