case UNIQUE_KEY: {
storeIndex = index.getStoreIndex();
if (logger.isDetailEnabled()) logger.detail(
"Using delete by unique key " + index.getIndexName());
// perform a delete by unique key operation
IndexOperation op = session.getUniqueIndexDeleteOperation(storeIndex,
domainTypeHandler.getStoreTable());
// set the keys of the indexName into the operation
where.operationEqual(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;
}