JPA Method
in jakarta.persistence.criteria.AbstractQuery

Class<T> getResultType()


Return the result type of the query or subquery. If a result type was specified as an argument to the createQuery or subquery method, that type is returned. If the query was created using the createTupleQuery method, the result type is Tuple. Otherwise, the result type is Object.
Return:
result type
Since:
JPA 2.0