Examples of execute()


Examples of de.willuhn.sql.version.Updater.execute()

  public void checkConsistency() throws RemoteException, ApplicationException
  {
    Logger.info("init update provider");
    UpdateProvider provider = new HBCIUpdateProvider(getConnection(),VersionUtil.getVersion(this,"db"));
    Updater updater = new Updater(provider,"iso-8859-1");
    updater.execute();
    Logger.info("updates finished");
  }

 
  /**
 
View Full Code Here

Examples of driftingdroids.model.Solver.execute()

        String maxSolution = "";
        for (int i = 1; i <= numGames; ++i) {
           
            theBoard.setRobotsRandom();
            final Solver theSolver = Solver.createInstance(theBoard);
            final Solution theSolution = theSolver.execute().get(0);
            final int moves = theSolution.size();
           
            //System.err.println(i + " usedMem=" + (getBytesUsed() >> 20) + " MiB  " + theSolver.getKnownStatesNumber());
           
            if ((0 == i % 100) || (moves > maxMoves)) {
View Full Code Here

Examples of driftingdroids.model.SolverBFS.execute()

            solver.setOptionSolutionMode((SolverBFS.SOLUTION_MODE)jcomboOptSolutionMode.getSelectedItem());
            solver.setOptionAllowRebounds(jcheckOptAllowRebounds.isSelected());
            jtextSolution.setText(null);
            appendSolutionText(getSolverOptionsString(solver), null);
            appendSolutionText(L10N.getString("txt.ComputingSolutions.text") + "\n\n", null);
            solver.execute();
            return solver;
        }
        @Override
        protected void done() {
            String errorMsg = "";
View Full Code Here

Examples of driftingdroids.model.SolverIDDFS.execute()

            final StringBuilder sb = new StringBuilder();
            sb.append(board.getGameID()).append('\t');
           
            KeyDepthMapFactory.setDefaultClass(KeyDepthMapTrieGeneric.class);
            final SolverIDDFS solverGeneric = (SolverIDDFS)Solver.createInstance(board);
            final List<Solution> solutionsGeneric = solverGeneric.execute();
           
            KeyDepthMapFactory.setDefaultClass(KeyDepthMapTrieSpecial.class);
            final SolverIDDFS solverSpecial = (SolverIDDFS)Solver.createInstance(board);
            final List<Solution> solutionsSpecial = solverSpecial.execute();
           
View Full Code Here

Examples of eas.math.gnuplot2.JGnuplot.execute()

            @Override public void mouseEntered(MouseEvent e) {}
           
            @Override
            public void mouseClicked(MouseEvent e) {
                JGnuplot plot = new JGnuplot();
                Command c = plot.execute(
                        new Plot("test"),
                        PlainGNUPlot.this.plotCode.substring(PlainGNUPlot.this
                                .getPDFProcessor().getCodePrefix().length()),
                        null);
                c.toString();
View Full Code Here

Examples of eas.simulation.spatial.standardBrains.mdle.plan.MDL2ePlan.execute()

      if (currentAtom != null) {
        if (currentAtom.checkInterrupt(time)) {
          executionStack.push(currentAtom);

          currentAtom.execute(time);
          return;
        } else { // currentAtom.checkInterrupt(time) == false
          //queue for deschedule
          descheduleStack.push(currentAtom);
          //currentAtom.deschedule();
View Full Code Here

Examples of easyJ.database.dao.command.DeleteCommand.execute()

        DeleteCommand dcmd = DAOFactory.getDeleteCommand(o);
        Filter filter = DAOFactory.getFilter();
        filter.setAccurateProperties(accurateProperties);
        filter = filter.buildFilter(o,false);
        dcmd.setFilter(filter);
        dcmd.execute(conn);
        accurateProperties = null;
    }

    public Object get(Object o, Connection conn) throws EasyJException {
        ArrayList list = query(o, conn);
View Full Code Here

Examples of easyJ.database.dao.command.InsertCommand.execute()

                    .currentTimeMillis()));
            BeanUtil.setFieldValue(o, "buildTime", new java.sql.Date(System
                    .currentTimeMillis()));
        } catch (Exception e) {}
        InsertCommand icmd = DAOFactory.getInsertCommand(o);
        Long no = (Long) icmd.execute(conn);
        BeanUtil.setFieldValue(o, BeanUtil.getPrimaryKeyName(o.getClass()), no);
        return o;
    }

    public ArrayList query(Object o, Connection conn) throws EasyJException {
View Full Code Here

Examples of easyJ.database.dao.command.SelectCommand.execute()

        }
        scmd.setFilter(filter);
        String sql = scmd.getSQL();
        // EasyJLog.debug(scmd.getExecutableSQL());

        ArrayList result = (ArrayList) scmd.execute(conn);
        accurateProperties = null;
        return result;
    }

    public ArrayList query(SelectCommand scmd, Connection conn)
View Full Code Here

Examples of easyJ.database.dao.command.UpdateCommand.execute()

        } catch (Exception e) {
            e.printStackTrace();
        }

        // 在返回之前是不是需要对从数据库中读取o,这里简略了,应该是从数据库按照主键再读一次的。
        ucmd.execute(conn);
        return o;
    }

    public void update(UpdateCommand ucmd, Connection conn)
            throws EasyJException {
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.