Examples of commit()


Examples of org.openbp.server.ProcessFacade.commit()

          throw ex;
        }
        engine.executeContext(tc);
      }

      processFacade.commit();
    }
    catch (Exception e)
    {
      try
      {

Examples of org.openbp.server.context.TokenContextService.commit()

    tc4 = tokenContextService.getContextById(tc4.getId());
    tc4.setLifecycleState(LifecycleState.SUSPENDED);
    tc4.setLifecycleRequest(LifecycleRequest.RESUME);
    tokenContextService.saveContext(tc4);

    tokenContextService.commit();

    getProcessFacade().executePendingContextsInThisThread();
    assertEquals("Done", TestCaseSyncMgr.getInstance().getSignal(null, "TestSignal2"));
    assertEquals("Done", TestCaseSyncMgr.getInstance().getSignal(null, "TestSignal4"));
  }

Examples of org.openntf.domino.graph.DominoGraph.commit()

        v2.setProperty("Test1", i);

        graph.addEdge(null, v1, v2, "IAmInYou");
        if (i % 1000 == 0) {
          System.out.println("Iterated test " + i + " times.  Committing...");
          graph.commit();
        }
      }
      graph.commit();
      System.gc();

Examples of org.openntf.domino.transactions.DatabaseTransaction.commit()

        }
        toggle = !toggle;
      }
      sb.append("...Updated " + Integer.toString(count) + " Contacts pending committal.");
      if (successOrFail) {
        txn.commit();
        sb.append("...Committed");
        ExtLibUtil.getViewScope().put("javaTest", sb.toString());
      } else {
        throw new Exception("Now roll back");
      }

Examples of org.openrdf.http.server.helpers.ServerConnection.commit()

        for (TransactionOperation op : txn) {
          op.execute(connection);
        }

        if (autoCommit) {
          connection.commit();
        }

        connection.getCacheInfo().processUpdate();

        logger.debug("Transaction processed ");

Examples of org.openrdf.repository.RepositoryConnection.commit()

      RepositoryConnection repCon = getRepositoryConnection();
      try {
        repCon.begin();
        repCon.clear(context);
        repCon.add(stream, url.toExternalForm(), format, context);
        repCon.commit();
        lastModified.put(url, modified);
      }
      finally {
        repCon.close();
      }

Examples of org.openrdf.repository.contextaware.ContextAwareConnection.commit()

            String queryStr = "SELECT ?X ?Z WHERE { ?X ?Y ?Z }";

            TupleQuery query = con.prepareTupleQuery(QueryLanguage.SPARQL, queryStr);
            List<BindingSet> result = Iterations.asList(query.evaluate());
            Assert.assertEquals(2,result.size());
            con.commit();
        } finally {
            con.close();
        }
    }

Examples of org.openrdf.repository.event.InterceptingRepositoryConnection.commit()

        });



        con.add(in,resource.stringValue(),format);
        con.commit();
        con.close();

        return triples;

    }

Examples of org.openrdf.repository.event.base.InterceptingRepositoryConnectionWrapper.commit()

        });



        con.add(in,resource.stringValue(),format);
        con.commit();
        con.close();

        return triples;

    }

Examples of org.openrdf.repository.sail.SailRepositoryConnection.commit()

                    ctx = new Resource[] {};
                }

                con.add(inStream, baseUri, forFileName, ctx);

                con.commit();
            } finally {
                if (con.isActive()) {
                    con.rollback();
                }
                con.close();
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.