Annotation Interface NamedNativeQueries


@Target(TYPE) @Retention(RUNTIME) public @interface NamedNativeQueries
Specifies 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:
1.0
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    (Required) Array of NamedNativeQuery annotations.
  • Element Details

    • value

      (Required) Array of NamedNativeQuery annotations.