getResultType() - JPA AbstractQuery's method
Method javax.persistence.criteria.AbstractQuery
Class<T> getResultType()
createQuery
or subquery
method, that type will be returned. If the query was created using the createTupleQuery
method, the result type is Tuple
. Otherwise, the result type is Object
. - Returns:
- result type
- Since:
- JPA 2.0