Examples of rollback()


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

       
        case ACTION_COMMIT:
          manager.commit();
        break;
        case ACTION_ROLLBACK:
          manager.rollback();
        break;
        case ACTION_SET_SAVEPOINT:
           ((DatasourceManagerImpl)manager).savepoint();
        break;
        }
View Full Code Here

Examples of realcix20.utils.DAO.rollback()

                    dao.setObject(11, coModel.getValueAt(tempRow, 1));
               
                flag = dao.executeUpdate();
               
                if (!flag) {
                    dao.rollback();
                    dao.setAutoCommit(true);
                    return false;
                }
               
            }
View Full Code Here

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

          }catch(Throwable e) {
            if(e.getClass().getCanonicalName().equals("org.eclipse.jetty.continuation.ContinuationThrowable")) {
              throw e;
            }
            e.printStackTrace();
            if(null!=orm) orm.rollback();
            result.setError(e);
            if(e instanceof ParseException) {
                results.add(result);
                break;
            }
View Full Code Here

Examples of uk.co.oliwali.HawkEye.entry.DataEntry.rollback()

      Location loc = new Location(world, entry.getX(), entry.getY(), entry.getZ());
      Block block = world.getBlockAt(loc);
      BlockState state = block.getState();

      //Attempt global rollback
      if (rollbackType == RollbackType.GLOBAL && entry.rollback(world.getBlockAt(loc))) {
        entry.setUndoState(state);
        undo.add(entry);
      }
      //Local rollback preview
      else if (rollbackType == RollbackType.LOCAL && entry.rollbackPlayer(block, (Player)session.getSender())) {
View Full Code Here

Examples of unibg.overencrypt.core.UploadManager.rollBack()

    } catch (Exception e) {
      e.printStackTrace();
      if(uploadManager != null){
        try{
          uploadManager.rollBack();
        } catch (SQLException e1){
          LOGGER.error("SQL Exception during SEL encryption",e1);
        }   
      }else{
        LOGGER.error("Exception SEL encryption",e);       
View Full Code Here

Examples of voldemort.store.readonly.ReadOnlyStorageEngine.rollback()

            File rollbackVersionDir = new File(store.getStoreDirPath(), "version-" + pushVersion);

            logger.info("Rolling back data for RO store '" + storeName + "' to version directory '"
                        + rollbackVersionDir + "'");
            store.rollback(rollbackVersionDir);
            logger.info("Successfully rolled back data for RO store '" + storeName
                        + "' to version directory '" + rollbackVersionDir + "'");
        } catch(VoldemortException e) {
            response.setError(ProtoUtils.encodeError(errorCodeMapper, e));
            logger.error("handleRollbackStore failed for request(" + request.toString() + ")", e);
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.