public ResultSet getOriginalRow() throws SQLException {
        CachedRowSetImpl crs = new CachedRowSetImpl();
        crs.RowSetMD = RowSetMD;
        crs.numRows = 1;
        crs.cursorPos = 0;
        crs.setTypeMap(this.getTypeMap());

        // make sure we don't get someone playing with these
        // %%% is this now necessary ???
        //crs.setReader(null);
        //crs.setWriter(null);

        Row orig = new Row(RowSetMD.getColumnCount(),
        getCurrentRow().getOrigRow());

        crs.rvh.add(orig);

        return (ResultSet)crs;

    }
Returns a result set containing the original value of the current
row only.
The original value is the state of the <code>CachedRowSetImpl</code> after
the last population or synchronization (whichever occurred most recently)
with the data source.

@return the original result set of the row
@throws SQLException if there is no current row
@see #setOriginalRow
src/main/java/org/replicadb/rowset/sun/rowset/CachedRowSetImpl.java