/** Release any locally allocated sequence back to the global sequence pool. */ void afterCommitInternal(Map localSequences, Accessor accessor) { Iterator it = localSequences.entrySet().iterator(); while (it.hasNext()) { Map.Entry entry = (Map.Entry) it.next(); String seqName = (String) entry.getKey(); Vector localSequenceForName = (Vector) entry.getValue(); if (!localSequenceForName.isEmpty()) { getPreallocationHandler().setPreallocated(seqName, localSequenceForName); // clear all localSequencesForName localSequenceForName.clear(); } } if (accessor != null) { getOwnerSession() .log( SessionLog.FINEST, SessionLog.SEQUENCING, "sequencing_afterTransactionCommitted", null, accessor); } else { getOwnerSession() .log( SessionLog.FINEST, SessionLog.SEQUENCING, "sequencing_afterTransactionCommitted", null); } }