Annotation Interface NamedStatements


@Target({TYPE,PACKAGE,MODULE}) @Retention(RUNTIME) public @interface NamedStatements
Declares multiple named Jakarta Persistence query language statements. Query names are scoped to the persistence unit. The NamedStatements annotation can be applied to an entity or mapped superclass.
Since:
4.0
  • Required Element Summary

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