// resulting cursor, or for the lifetime of the transaction. So really, an UPDATE of the row
// is a much safer alternative.
Query lockQry = getSession().createQuery(LOCK_SELECTORS);
lockQry.setString("ckey", key == null ? null : key.toCanonicalString());
lockQry.setEntity("corr",_hobj);
if (lockQry.executeUpdate() > 0) {
Query q = getSession().createFilter(_hobj.getSelectors(), FLTR_SELECTORS);
q.setString(0, key == null ? null : key.toCanonicalString());
q.setLockMode("this", LockMode.UPGRADE);