@Override
    protected void clone(Q query) {
        super.clone(query);
        flushMode = query.flushMode;
        hints.putAll(query.hints);
        lockMode = query.lockMode;
        projection = query.projection;
    }
Transforms results using FactoryExpression if ResultTransformer can't be used

@param query query
@return single result
querydsl-jpa/src/main/java/com/querydsl/jpa/sql/AbstractJPASQLQuery.java