javaee-web-api 8.0.1
javax.persistence
NamedNativeQueries
Top
Description
Methods
javax.persistence
public
@Interface NamedNativeQueries
extends
Annotation
Annotations
@Target
:
TYPE
@Retention
:
RUNTIME
Imports
java.
lang.
annotation.
Target
,
.Retention
Specifies 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
Method Summary
Modifier and Type
Method and Description
public
NamedNativeQuery
[]
value
()
(Required) Array of
NamedNativeQuery
annotations.
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString
Method Detail
value
back to summary
public
NamedNativeQuery
[]
value
()
(Required) Array of
NamedNativeQuery
annotations.