private void validate(Expression<?> expr) {
        if (extractParams) {
            expr.accept(ParamsVisitor.DEFAULT, this);
        }
        if (validate) {
            exprInJoins = expr.accept(validatingVisitor, exprInJoins);
        }
    }
Disable validation

@return the current object
querydsl-core/src/main/java/com/querydsl/core/DefaultQueryMetadata.java