Examples of rollback()


Examples of com.dp.nebula.wormhole.common.interfaces.IWriterPeriphery.rollback()

    if (jobParams == null) {
      s_logger.error("can not find any job parameters for " + writerID);
      return;
    }

    writerPeriphery.rollback(jobParams);
  }
}
View Full Code Here

Examples of com.exedosoft.plat.Transaction.rollback()

        return NO_FORWARD;
      }
      this.setEchoValue(I18n.instance().get("翻译完成!"));

    } catch (Exception e) {
      t.rollback();
      e.printStackTrace();
    } finally {
      t.end();
    }
View Full Code Here

Examples of com.exedosoft.plat.agent.Task.rollBack()

        System.out.println("?惗??丆惓嵼夞?丅丅丅丅丅丅丅");
        for (Iterator<Task> itFail = excuteOverList.iterator(); itFail
            .hasNext();) {
          Task aFailTask = itFail.next();
          OutPool.getPool().addMessage(message.getCommandID(),
              aFailTask.rollBack(this.message));
        }
        break;
      }

      excuteOverList.add(aTask);
View Full Code Here

Examples of com.founder.fix.fixflow.core.ManagementService.rollBack()

    String rollBackNodeId = StringUtil.getString(filter.get("rollBackNodeId"));
    String taskId = StringUtil.getString(filter.get("taskId"));
   
    ManagementService mservice = engine.getManagementService();
    try{
      mservice.rollBack(taskId, rollBackNodeId,"管理员干预", null);
    }finally{
      closeProcessEngine();
    }
  }
 
View Full Code Here

Examples of com.google.appengine.api.datastore.Transaction.rollback()

    txn.commit();
  }

  public void rollbackTransaction() {
    Transaction txn = ds.getCurrentTransaction();
    txn.rollback();
  }
 
  public void delete(Object obj){
    List<Key> keys = new ArrayList<Key>();
   
View Full Code Here

Examples of com.google.walkaround.util.server.appengine.CheckedDatastore.CheckedTransaction.rollback()

      Assert.check(metadata.hasUdwMetadata(), "Metadata not udw: %s, %s", udwId, metadataString);
      convId = new SlobId(metadata.getUdwMetadata().getAssociatedConvId());
      udwOwner = new StableUserId(metadata.getUdwMetadata().getOwner());
      raw = l.reconstruct(null);
    } finally {
      tx.rollback();
    }
    WaveletName waveletName = IdHack.udwWaveletNameFromConvObjectIdAndUdwObjectId(convId, udwId);
    // TODO(ohler): avoid serialization/deserialization here
    WaveletDataImpl waveletData = deserializeWavelet(waveletName, raw.getState().snapshot());
    Assert.check(raw.getVersion() == waveletData.getVersion(),
View Full Code Here

Examples of com.hazelcast.core.Transaction.rollback()

            if (curi != null) {
                runningComponentContributions.put(componentName, curi);
            }
            txn.commit();
        } catch (Throwable e) {
            txn.rollback();
            throw new ServiceRuntimeException(e);
        }
        logger.info("Add endpoint - " + endpoint);
    }
View Full Code Here

Examples of com.j256.ormlite.support.DatabaseConnection.rollback()

    DatabaseConnection conn = createMock(DatabaseConnection.class);
    expect(conn.isAutoCommitSupported()).andReturn(false);
    Savepoint savePoint = createMock(Savepoint.class);
    expect(savePoint.getSavepointName()).andReturn("name").anyTimes();
    expect(conn.setSavePoint(isA(String.class))).andReturn(savePoint);
    conn.rollback(savePoint);
    expect(connectionSource.getDatabaseType()).andReturn(databaseType);
    expect(connectionSource.getReadWriteConnection()).andReturn(conn);
    expect(connectionSource.saveSpecialConnection(conn)).andReturn(true);
    connectionSource.clearSpecialConnection(conn);
    connectionSource.releaseConnection(conn);
View Full Code Here

Examples of com.jboss.transaction.txinterop.webservices.atinterop.generated.ParticipantPortType.rollback()

        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = ATInteropClient.getParticipantPort(addressingProperties, rollbackAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.rollback();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }
View Full Code Here

Examples of com.jboss.transaction.wstf.webservices.sc007.generated.ParticipantPortType.rollback()

        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = InteropClient.getParticipantPort(addressingProperties, rollbackAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.rollback();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.