Examples of Commit()


Examples of proj.zoie.store.ZoieStore.commit()

    store.put(1, s1.getBytes(UTF8), "1");
    Assert.assertEquals("1", store.getVersion());
    byte[] data = store.get(1);
    Assert.assertNotNull(data);
    Assert.assertEquals(s1, new String(data, UTF8));
    store.commit();
    data = store.get(1);
    Assert.assertNotNull(data);
    Assert.assertEquals(s1, new String(data, UTF8));

    store.delete(1, "2");

Examples of railo.runtime.db.DataSourceManager.commit()

        case ACTION_BEGIN:
            ignore=true;
            break;
       
        case ACTION_COMMIT:
          manager.commit();
        break;
        case ACTION_ROLLBACK:
          manager.rollback();
        break;
        case ACTION_SET_SAVEPOINT:

Examples of realcix20.utils.DAO.commit()

                    }                   
                }               
            }
           
            if (flag) {               
                dao.commit();
                if (container.getCommand().equals("ADD")||container.getCommand().equals("COPY")){
                    setDefaultName();
                }
                dao.setAutoCommit(true);
                return true;

Examples of reportgen.prototype.queryresults.ResultsRowList.commit()

                Map<QEntityProperty, Object> model = processor.analyze(row);
                ResultsRow resultRow = buildResultsRow(manager, core, model);
                rrlist.appendRow(resultRow);
            }
            System.out.println("<<<<<<<<<< CONTINUE 1 ANALYZE RESULTS >>>>>>>>>>>>>>");
            rrlist.commit();
            results.add(rrlist);
        }

        //prepare result list
        List<ResultColumn> colsList = new ArrayList<ResultColumn>();

Examples of rocket.generator.rebind.SourceWriter.commit()

    } catch (final GeneratorException caught) {
      this.handleWriteFailure(writer, caught);

      throw caught;
    } finally {
      writer.commit();
    }
  }

  /**
   * Captures the complete stacktrace of the given exception and writes it

Examples of ru.snake.spritepacker.Configuration.commit()

      config.setListGridSize(gridSize);
      config.setListForeground(colorListFg.getBackground());
      config.setListBackground(colorListBg.getBackground());

      try {
        config.commit();

        JOptionPane
            .showMessageDialog(
                parent,
                Messages.getString("ApplicationSettingsAction.SAVE_REBOOT"), //$NON-NLS-1$

Examples of ru.yandex.strictweb.ajaxtools.orm.ORMManager.commit()

                      throw new ParseException("Method " + methodName + " args expected as array");
                  }
                             
                    if(!doAction(beanName, methodName, rep, request, result)) break;
           
            if(orm != null) orm.commit();
   
          }catch(Throwable e) {
            if(e.getClass().getCanonicalName().equals("org.eclipse.jetty.continuation.ContinuationThrowable")) {
              throw e;
            }

Examples of se.unlogic.standardutils.dao.TransactionHandler.commit()

          this.recordDAO.add(dbRecord, transactionHandler, null);
        }
      }

      transactionHandler.commit();

      log.debug("Changes in seconday zone " + dbZone + " saved");

    } catch (SQLException e) {

Examples of smilehouse.gui.html.fieldbased.Field.commit()

          pers.update(startedPipe);
        }
        if(requestType == POST_REQUEST) {
            if(parameters.getInt(ACTION) == 1) {

                listField.commit();

                for(Iterator added = pipes.getList().addedIterator(); added.hasNext();) {
                    Pipe pipe = (Pipe) added.next();
                    pers.save(pipe);
                    //System.out.println("Saved pipe #" + pipe.getId().toString());

Examples of sos.connection.SOSConnection.commit()

      catch (Exception e) {
          throw new Exception("error occurred establishing database connection: " + e.getMessage());
      }
      userConnection.connect();
      if (schema!=null && schema.length()>0) userConnection.execute("use "+schema);
      userConnection.commit();
    return userConnection;
   
  }
   
    private String createRandomString(){
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.