Operation op = session.getDeleteOperation(domainTypeHandler.getStoreTable());
// set key values into the operation
index.operationSetKeys(context, op);
// execute the delete operation
session.executeNoCommit(false, true);
errorCode = op.errorCode();
// a non-zero result means the row was not deleted
result = (errorCode == 0?1:0);
break;
}