if (rs.isLast()) {
rs.beforeFirst();
LOGGER.logp(Level.FINE, CLASS_NAME, METHOD, "Doc ID#" + unid +
" is at the end of collection; reset to first record");
} else {
rs.previous();
LOGGER.logp(Level.FINE, CLASS_NAME, METHOD,
"Collection started with " + unid + " document ID");
}
} else {
LOGGER.logp(Level.FINE, CLASS_NAME, METHOD,