Jakarta Persistence (JPA) Interface

jakarta.persistence.TypedQueryReference<R>

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:
Since:
Jakarta Persistence (JPA) 3.2

Public Instance Methods

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