single = rop.getResultObject();
if (range.end != range.start + 1 && rop.next())
throw new NonUniqueResultException(_loc.get("not-unique",
_class, _query));
} else if (_unique == Boolean.TRUE)
throw new NoResultException(_loc.get("no-result",
_class, _query));
// if unique set to false, use collection
if (_unique == Boolean.FALSE) {
if (!next)