Package javax.persistence
Annotation Interface NamedQueries
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.- Since:
- Java Persistence 1.0
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescription(Required) An array ofNamedQuery
annotations.
-
Element Details
-
value
NamedQuery[] value(Required) An array ofNamedQuery
annotations.
-