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 TypeMethod and Description
public NamedQuery[]
value()

(Required) An array of NamedQuery annotations.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public NamedQuery[] value()

(Required) An array of NamedQuery annotations.