@Override
  public void updateUniqueConstraint(String tableName, String constraintName, String... columnNames)
      throws SQLException {
    dropUniqueConstraint(tableName, constraintName);
    addUniqueConstraint(tableName, constraintName, columnNames);
  }
Setting arguments for prepared statement

@param preparedStatement {@link PreparedStatement} object
@param arguments array of arguments

@throws SQLException
ambari-server/src/main/java/org/apache/ambari/server/orm/DBAccessorImpl.java