javax.persistence
Annotation Type NamedNativeQueries


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface NamedNativeQueries

Used to specify multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped superclass.

Since:
Java Persistence 1.0
See Also:
NamedNativeQuery

Required Element Summary
 NamedNativeQuery[] value
          (Required) Array of NamedNativeQuery annotations.
 

Element Detail

value

public abstract NamedNativeQuery[] value
(Required) Array of NamedNativeQuery 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

Scripting on this page tracks web page traffic, but does not change the content in any way.