return sequence.realValueForRawNumber(rawSequence);
}
@Override
public long curSequenceValue(Session session, Sequence sequence) {
AccumulatorAdapter accum = getAdapter(sequence);
try {
return sequence.realValueForRawNumber(accum.getSnapshot());
} catch (PersistitException | RollbackException e) {
throw PersistitAdapter.wrapPersistitException(session, e);
}
}