public MySQLReplaceClause replace(RelationalPath<?> entity) {
        return new MySQLReplaceClause(connection.get(), configuration, entity);
    }
Create a INSERT ... ON DUPLICATE KEY UPDATE clause

@param entity table to insert to
@param clauses clauses
@return insert clause
querydsl-sql/src/main/java/com/querydsl/sql/mysql/MySQLQueryFactory.java