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

@author tiwe
querydsl-jdo/src/main/java/com/querydsl/jdo/dml/JDOUpdateClause.java