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.

Since:
Java Persistence 1.0
See Also:
NamedQuery

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

Element Detail

value

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



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41