Examples of commit()


Examples of com.arjuna.webservices11.wsat.ParticipantInboundEvents.commit()

        if (participant != null)
        {
            try
            {
                participant.commit(commit, addressingProperties, arjunaContext) ;
            }
            catch (final Throwable th)
            {
                if (WSTLogger.arjLoggerI18N.isWarnEnabled())
                {

Examples of com.arjuna.wst.CompletionCoordinatorParticipant.commit()

    {
        try
        {
            final CoordinationContextType context = InteropUtil.createCoordinationContext(coordinatorURI) ;
            final CompletionCoordinatorParticipant participant = InteropUtil.registerCompletion(context, context.getIdentifier().getValue()) ;
            participant.commit() ;
        }
        catch (final Throwable th)
        {
            throw new SoapFault11(th) ;
        }

Examples of com.arjuna.wst.stub.CompletionStub.commit()

      if (completionCoordinator == null)
        throw new WrongStateException();

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

      completionStub.commit();
    }
    catch (SystemException ex)
    {
      throw ex;
    }

Examples of com.arjuna.wst11.CompletionCoordinatorParticipant.commit()

            if (participant != null)
            {
                final String messageId = MessageId.getMessageId() ;
                try
                {
                    participant.commit() ;
                }
                catch (final TransactionRolledBackException trbe)
                {
                    final AddressingProperties responseAddressingContext =
                        AddressingHelper.createResponseContext(addressingProperties, messageId) ;

Examples of com.arjuna.wst11.stub.CompletionStub.commit()

      if (completionCoordinator == null)
        throw new WrongStateException();

      CompletionStub completionStub = new CompletionStub(id, completionCoordinator);

      completionStub.commit();
    }
    catch (SystemException ex)
    {
      throw ex;
    }

Examples of com.atomikos.icatch.CompositeTerminator.commit()

            javax.transaction.SystemException, java.lang.SecurityException
    {

        CompositeTerminator term = getTerminator();
        try {
            term.commit ();
        } catch ( HeurHazardException hh ) {
            throw new HeuristicMixedException ( hh.getMessage () );
        } catch ( HeurRollbackException hr ) {
            throw new HeuristicRollbackException ( hr.getMessage () );
        } catch ( HeurMixedException hm ) {

Examples of com.atomikos.icatch.Participant.commit()

    protected Object send () throws PropagationException
    {
        Participant part = getParticipant ();
        HeuristicMessage[] msgs = null;
        try {
            msgs = part.commit ( onephase_ );
            return msgs;
        } catch ( RollbackException rb ) {
            throw new PropagationException ( rb, false );
        } catch ( HeurMixedException heurm ) {
            throw new PropagationException ( heurm, false );

Examples of com.avaje.ebean.Transaction.commit()

      // transaction.setLogLevel(LogLevel.SUMMARY);
      // transaction.setBatchGetGeneratedKeys(false);

      Ebean.save(masters);

      transaction.commit();

    } finally {
      Ebean.endTransaction();
    }
  }

Examples of com.avaje.ebeaninternal.server.transaction.TransactionMap.State.commit()

    TransactionMap map = local.get();
    State state = map.removeState(serverName);
    if (state == null) {
      throw new IllegalStateException("No current transaction for [" + serverName + "]");
    }
    state.commit();
    if (map.isEmpty()) {
      local.remove();
    }
  }

Examples of com.caucho.db.block.Block.commit()

        } catch (IOException e) {
          log.log(Level.WARNING, e.toString(), e);
        }
       
        try {
          block.commit();
        } catch (IOException e) {
          log.log(Level.WARNING, e.toString(), e);
        }
      }
    }
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.