public void setConcurrency(int concur) throws SQLException {

       int oldVal;

       try {
          oldVal = getConcurrency();
        }catch(NullPointerException ex) {
           oldVal = 0;
        }

       if(oldVal != concur) {
           super.setConcurrency(concur);
       }

    }
Sets the concurrency for this <code>RowSet</code> object to
the specified concurrency. The default concurrency for any <code>RowSet</code>
object (connected or disconnected) is <code>ResultSet.CONCUR_UPDATABLE</code>,
but this method may be called at any time to change the concurrency.

@param concur one of the following constants:
                   <code>ResultSet.CONCUR_READ_ONLY</code> or
                   <code>ResultSet.CONCUR_UPDATABLE</code>
@throws SQLException if the parameter supplied is not one of the
        following constants:
         <code>ResultSet.CONCUR_UPDATABLE</code> or
         <code>ResultSet.CONCUR_READ_ONLY</code>
@see #getConcurrency
@see #isReadOnly
src/main/java/org/replicadb/rowset/sun/rowset/JdbcRowSetImpl.java