@Override
    public <T> HibernateUpdateClause set(Path<T> path, T value) {
        if (value != null) {
            updates.put(path, Expressions.constant(value));
        } else {
            setNull(path);
        }
        return this;
    }
UpdateClause implementation for Hibernate

@author tiwe
querydsl-jpa/src/main/java/com/querydsl/jpa/hibernate/HibernateUpdateClause.java