Top Description Methods
jakarta.persistence

public Interface TypedQueryReference<R>

Type Parameters
<R>
an upper bound on the result type of the query
Imports
java.util.Map

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

Method Summary

Modifier and TypeMethod and Description
public Map<String, Object>
getHints()

A map keyed by hint name of all hints specified via NamedQuery#hints or NamedNativeQuery#hints.

public String
getName()

The name of the query.

public Class<? extends R>
getResultType()

The result type of the query.

Method Detail

getHintsback to summary
public Map<String, Object> getHints()

A map keyed by hint name of all hints specified via NamedQuery#hints or NamedNativeQuery#hints.

getNameback to summary
public String getName()

The name of the query.

getResultTypeback to summary
public Class<? extends R> getResultType()

The result type of the query.