Package jakarta.persistence
Interface TypedQueryReference<R>
- Type Parameters:
R
- an upper bound on the result type of the query
public interface TypedQueryReference<R>
A reference to a named query declared via the
NamedQuery
or NamedNativeQuery
annotations.- Since:
- 3.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetHints()
A map keyed by hint name of all hints specified viaNamedQuery.hints()
orNamedNativeQuery.hints()
.getName()
The name of the query.The result type of the query.
-
Method Details
-
getName
String getName()The name of the query. -
getResultType
The result type of the query. -
getHints
A map keyed by hint name of all hints specified viaNamedQuery.hints()
orNamedNativeQuery.hints()
.
-