JavaScript is disabled on your browser.
Skip navigation links
Module
Class
Use
Tree
Deprecated
Index
Search
Help
Jakarta Persistence API v4.0.0-M4
jakarta.persistence
jakarta.persistence
NamedQueries
Contents
Description
Required Element Summary
Element Details
value
Hide sidebar
Show sidebar
Annotation Interface NamedQueries
@Target
({
TYPE
,
PACKAGE
,
MODULE
})
@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:
NamedQuery
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
NamedQuery
[]
value
(Required) An array of
NamedQuery
annotations.
Element Details
value
NamedQuery
[]
value
(Required) An array of
NamedQuery
annotations.