public void skipRowToStartOffset( Config cfg, DataReader rdr, ILoaderProgress mon, boolean updateProgress) throws LoadException { try { cfg.setValue(LastRun.LAST_LOAD_BATCH_ROW, 0); rowToStart(cfg, rdr); if (updateProgress) { // set the last processed value to the starting row int currentRow = rdr.getCurrentRowNumber(); if (mon != null && currentRow > 0) mon.worked(currentRow); cfg.setValue(LastRun.LAST_LOAD_BATCH_ROW, currentRow); cfg.saveLastRun(); } } catch (final DataAccessObjectException e) { handleError(e, "errorDaoStartRow"); } catch (final IOException e) { handleError(e, "errorLastRun"); } }