Annotation Interface NamedQueries


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

    Required Elements
    Modifier and Type
    Required Element
    Description
    (Required) An array of NamedQuery annotations.