JPA Interface

TypedQueryReference

Type Parameters:
<R> - an upper bound on the result type of the query

A reference to a named query declared via the NamedQuery or NamedNativeQuery annotations.
See Also:
createQuery()
Since:
JPA 3.2

Public Methods

Map<String,Object> getHints()
A map keyed by hint name of all hints specified via NamedQuery.hints or NamedNativeQuery.hints.
Since:
JPA 3.2
String getName()
The name of the query.
Since:
JPA 3.2
Class<?extendsR> getResultType()
The result type of the query.
Since:
JPA 3.2