@SuppressWarnings("unchecked")
    public HibernateDeleteClause setLockMode(Path<?> path, LockMode lockMode) {
        lockModes.put(path, lockMode);
        return this;
    }
Set the lock mode for the given path.
querydsl-jpa/src/main/java/com/querydsl/jpa/hibernate/HibernateDeleteClause.java