code: @SuppressWarnings("unchecked")
      public HibernateUpdateClause setLockMode(Path<?> path, LockMode lockMode) {
          lockModes.put(path, lockMode);
          return this;
      }
docs: Set the lock mode for the given path.
  @return the current object