// if we're flushing, have to set rollback only -- do this before we
// attempt to cancel, because otherwise the cancel might case the
// transaction to complete before we have a chance to set the
// rollback only flag
if ((_flags & FLAG_STORE_FLUSHING) != 0)
setRollbackOnlyInternal(new UserException());
return _store.cancelAll();
} catch (OpenJPAException ke) {
throw ke;
} catch (RuntimeException re) {
throw new StoreException(re);