Annotation Type NamedNativeQueries


  • @Target(TYPE)
    @Retention(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

      Required Elements 
      Modifier and Type Required Element Description
      NamedNativeQuery[] value
      (Required) Array of NamedNativeQuery annotations.
    • Element Detail

      • value

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