Annotation Type NamedQueries

  • @Target(TYPE)
    public @interface NamedQueries
    Specifies multiple named Jakarta 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:
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      NamedQuery[] value
      (Required) An array of NamedQuery annotations.
    • Element Detail

      • value

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