ObjectDB ObjectDB

javax.persistence.NamedQueries - JPA annotation

javax.persistence
Annotation NamedQueries

Target:
Classes
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:
JPA 1.0
See Also:
NamedQuery
Learn how to define and use named queries in Chapter 4 of the ObjectDB/JPA manual.
(Required) An array of NamedQuery annotations.
(Required) An array of NamedQuery annotations.
Since:
JPA 1.0