<BUG>next = data.getDb().getNextSequenceValue(meta.getSchemaName(), meta.getSequenceName(), meta.getValuename());} catch (KettleDatabaseException dbe) {</BUG><CONTEXT>data.counter.setCounter(nval);next = prev;}} else if (meta.isDatabaseUsed()) {try {<extra_id_0>throw new KettleStepException(Messages.getString("AddSequence.Exception.ErrorReadingSequence", meta.getSequenceName()), dbe); //$NON-NLS-1$ //$NON-NLS-2$}</CONTEXT>
next = data.getDb().getNextSequenceValue(environmentSubstitute(meta.getSchemaName()),environmentSubstitute(meta.getSequenceName()),} catch (KettleDatabaseException dbe) {