@Override
    @SuppressWarnings("unchecked")
    public List<T> fetch() {
        Object rv = execute(createQuery(false), false);
        return rv instanceof List ? (List<T>) rv : Collections.singletonList((T) rv);
    }
Close the query and related resources
querydsl-jdo/src/main/java/com/querydsl/jdo/sql/AbstractSQLQuery.java