javaee-web-api 8.0.1
javax.persistence
NamedQueries
Top
Description
Methods
javax.persistence
public
@Interface NamedQueries
extends
Annotation
Annotations
@Target
:
TYPE
@Retention
:
RUNTIME
Imports
java.
lang.
annotation.
Target
,
.Retention
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
NamedQuery
Method Summary
Modifier and Type
Method and Description
public
NamedQuery
[]
value
()
(Required) An array of
NamedQuery
annotations.
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString
Method Detail
value
back to summary
public
NamedQuery
[]
value
()
(Required) An array of
NamedQuery
annotations.