JPA Methodin javax.persistence.QueryTimeoutExceptionQuery getQuery() Returns the query that caused this exception. Return: the query.Since:JPA 2.0