EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

javax.persistence
Annotation Type NamedQueries


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @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.

See Also:
NamedQuery
Since:
Java Persistence 1.0

Required Element Summary
 NamedQuery[] value
          (Required) An array of NamedQuery annotations.
 

Element Detail

value

public abstract NamedQuery[] value
(Required) An array of NamedQuery annotations.


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference