db.setOwnerObject(lockKey);
	public boolean hasNext() {		Lock lock = db.getLock();		try {			try {				lock.acquire();			} catch (LockException e) {				return false;			}			if(gotoNextPosition()) {				db.getPageBuffer().add(p);				final DOMFile.DOMFilePageHeader ph = p.getPageHeader();				if (offset < ph.getDataLength())					return true;				else if (ph.getNextDataPage() < 0)					return false;				else					return true;			}		} catch (BTreeException e) {			LOG.warn(e);		} catch (IOException e) {			LOG.warn(e);		} finally {			lock.release();		}		return false;	}