Examples of commit()


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

        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = ATInteropClient.getParticipantPort(addressingProperties, commitAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.commit();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }

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

        addressingProperties.setReplyTo(initiator) ;
        ParticipantPortType port = InteropClient.getParticipantPort(addressingProperties, commitAction);
        CoordinationContextManager.setThreadContext(coordinationContext) ;
        try
        {
            port.commit();
        }
        finally
        {
            CoordinationContextManager.setThreadContext(null) ;
        }

Examples of com.jengine.orm.db.DBConnection.commit()

        }

        clearData();
        connection.startTransaction();
        loadData();
        connection.commit();
        check( Author.cls.count() > 0 );
        check( Library.cls.count() > 0 );
        check( Book.cls.count() > 0 );
        check( Member.cls.count() > 0 );
        check( Transaction.cls.count() > 0 );

Examples of com.knowgate.datacopy.DataStruct.commit()

        oDS.setOriginConnection(oConn);
        oDS.setTargetConnection(oConn);
        oDS.setAutoCommit(false);
        oDS.parse (sCompanyXml, oParams);
        oDS.insert(new Object[]{getString(DB.gu_company)}, new Object[]{sCompanyGuid}, 0);
      oDS.commit();
      oDS.clear();
      oDS = null;
    }
   
      oDS = new DataStruct();

Examples of com.knowgate.jdc.JDCConnection.commit()

        oFile.delete();
      }

      if (DebugFile.trace) DebugFile.writeln("Connection.commit()");

      oConn.commit();
    } catch (Exception sqle) {
      try { if (oMBox!=null) oMBox.close(); } catch (Exception e) {}
      try { if (oStmt!=null) oStmt.close(); } catch (Exception e) {}
      try { if (oCall!=null) oCall.close(); } catch (Exception e) {}
      try { if (oConn!=null) oConn.rollback(); } catch (Exception e) {}

Examples of com.mobixess.jodb.core.JODBSessionContainer.commit()

        ObjectB objectB = new ObjectB();
        objectB._val3 = objectA;
        sessionContainer.set(objectA);
        sessionContainer.set(objectB);

        sessionContainer.commit();
       
        if(reopen){
            sessionContainer.close();
            sessionContainer = getContainerForFile(testFile);
        }

Examples of com.mysql.jdbc.ReplicationConnection.commit()

    ReplicationConnectionGroupManager.removeMasterHost(replicationGroup1, firstHost);

    conn2.createStatement().execute("SELECT 1");
    assertFalse(conn2.isClosed());

    conn2.commit();

    // validate that queries are successful:
    conn2.createStatement().execute("SELECT 1");
    assertTrue(conn2.isHostMaster(secondHost));

Examples of com.onpositive.instrumentation.tasks.CallDictionary.commit()

                new Status(IStatus.ERROR, Activator.PLUGIN_ID,
                    IResourceStatus.BUILD_FAILED, e
                        .getMessage(), e));
          }
        }
        ds.commit();
       
      } catch (IOException e) {
        StartProfilingAction.rebuild(create);
        throw new CoreException(new Status(IStatus.ERROR,
            Activator.PLUGIN_ID, IResourceStatus.BUILD_FAILED, e

Examples of com.onpositive.semantic.model.binding.Binding.commit()

        r.add(buttons);
        final InputElementDialog inputElementDialog = new InputElementDialog(bnd,r,"Settings","you may configure settings here");
        ButtonSelector bs=new ButtonSelector();
        bs.setValue(new Runnable() {
          public void run() {
            bnd.commit();
            inputElementDialog.close();
          }
        });
        bs.setText("Apply");
        buttons.add(bs);       

Examples of com.orientechnologies.orient.core.db.document.ODatabaseDocument.commit()

      db.rollback();
      Assert.fail();
    } catch (ODatabaseException ex) {
    }
    try {
      db.commit();
      Assert.fail();
    } catch (ODatabaseException ex) {
    }
    try {
      db.getMetadata();
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.