public void setMatchColumn(String[] columnNames) throws SQLException {

        for(int j = 0; j < columnNames.length; j++) {
           if( columnNames[j] == null || columnNames[j].equals("")) {
              throw new SQLException(resBundle.handleGetObject("jdbcrowsetimpl.matchcols2").toString());
           }
        }
        for( int i = 0; i < columnNames.length; i++) {
           strMatchColumns.add(i,columnNames[i]);
        }
    }
Sets the designated parameter to the given String array.
 This forms the basis of the join for the
<code>JoinRowSet</code> as the column which will form the basis of the
join.
<P>
The parameter value set by this method is stored internally and
will be supplied as the appropriate parameter in this rowset's
command when the method <code>getMatchColumn</code> is called.

@param columnNames the name of the column into this rowset
       object's internal representation of parameter values
@throws SQLException if an error occurs or the
 parameter index is out of bounds
src/main/java/org/replicadb/rowset/sun/rowset/JdbcRowSetImpl.java