@Override
    public long execute() {
        int rv = 0;
        for (T match : query.fetch()) {
            BeanMap beanMap = new BeanMap(match);
            for (Map.Entry<Path<?>,Object> entry : paths.entrySet()) {
                // TODO : support deep updates as well
                String propertyName = entry.getKey().getMetadata().getName();
                beanMap.put(propertyName, entry.getValue());
            }
            rv++;
        }
        return rv;
    }
{@code CollUpdateClause} is an implementation of the {@link UpdateClause} interface for Querydsl Collections

@author tiwe

@param <T>
querydsl-collections/src/main/java/com/querydsl/collections/CollUpdateClause.java