ObjectDB ObjectDB

getResultType() - JPA AbstractQuery's method

Method
javax.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 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