-
- 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 theNamedQuery
orNamedNativeQuery
annotations.- Since:
- 3.2
- See Also:
EntityManager.createQuery(TypedQueryReference)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getHints()
A map keyed by hint name of all hints specified viaNamedQuery.hints()
orNamedNativeQuery.hints()
.java.lang.String
getName()
The name of the query.java.lang.Class<? extends R>
getResultType()
The result type of the query.
-
-
-
Method Detail
-
getName
java.lang.String getName()
The name of the query.
-
getResultType
java.lang.Class<? extends R> getResultType()
The result type of the query.
-
getHints
java.util.Map<java.lang.String,java.lang.Object> getHints()
A map keyed by hint name of all hints specified viaNamedQuery.hints()
orNamedNativeQuery.hints()
.
-
-