Examples of executeUpdate()


Examples of br.net.woodstock.rockframework.core.jdbc.Client.executeUpdate()

  @Override
  public int executeUpdate(final JDBCFilter filter) {
    try {
      Client client = new CommonCallableClient(this.getConnection());
      int i = client.executeUpdate(filter.getFilter(), this.toParameterList(filter.getParameters()));
      return i;
    } catch (SQLException e) {
      throw new PersistenceException(e);
    }
  }
View Full Code Here

Examples of br.net.woodstock.rockframework.core.jdbc.impl.CommonCallableClient.executeUpdate()

  @Override
  public int executeUpdate(final JDBCFilter filter) {
    try {
      Client client = new CommonCallableClient(this.getConnection());
      int i = client.executeUpdate(filter.getFilter(), this.toParameterList(filter.getParameters()));
      return i;
    } catch (SQLException e) {
      throw new PersistenceException(e);
    }
  }
View Full Code Here

Examples of com.alibaba.wasp.jdbc.command.CommandInterface.executeUpdate()

      closeOldResultSet();
      CommandInterface command = conn.prepareCommand(sql, fetchSize, session);
      synchronized (session) {
        setExecutingStatement(command);
        try {
          updateCount = command.executeUpdate();
        } finally {
          setExecutingStatement(null);
        }
      }
      command.close();
View Full Code Here

Examples of com.caucho.amber.AmberQuery.executeUpdate()

  public int update(String hsql)
    throws SQLException
  {
    AmberQuery query = prepareUpdate(hsql);

    return query.executeUpdate();
  }

  /**
   * Select a list of objects with a Hibernate query.
   *
 
View Full Code Here

Examples of com.centraview.common.CVDal.executeUpdate()

      cvdl.executeUpdate();
    }
    if (applyFilter || permissionSwitch) {
      cvdl.setSqlQueryToNull();
      cvdl.setSqlQuery("DROP TABLE listfilter");
      cvdl.executeUpdate();
    }
    cvdl.destroy();
    cvdl = null;
    return new ValueListVO(list, parameters);
  }
View Full Code Here

Examples of com.centraview.common.CVDal.executeUpdate()

          {
            dl.setSql("common.updateCustomFieldScalar");
            dl.setString(1, cvo.getValue());
            dl.setInt(2, cvo.getFieldID());
            dl.setInt(3, tvo.getActivityID());
            dl.executeUpdate();
            dl.clearParameters();
          }
        }
      }
View Full Code Here

Examples of com.centraview.common.CVDal.executeUpdate()

          ActivityActionVO action = (ActivityActionVO)ite.next();
          String message = tvo.getMessage();
          dl.setSql("projecttask.addtaskalertaction");
          dl.setString(1, action.getActionType());
          dl.setString(2, message);
          dl.executeUpdate();

          String individualIDs = "";
          int actionId = dl.getAutoGeneratedKey();
          dl.clearParameters();
          ArrayList recipients = action.getRecipient();
View Full Code Here

Examples of com.centraview.common.CVDal.executeUpdate()

              int individualID = ((Integer)it1.next()).intValue();
              dl.setSql("projecttask.addtaskalert");
              dl.setInt(1, tvo.getActivityID());
              dl.setInt(2, actionId);
              dl.setInt(3, individualID);
              dl.executeUpdate();
              dl.clearParameters();
              individualIDs += individualID + ",";
            }
          }
View Full Code Here

Examples of com.centraview.common.CVDal.executeUpdate()

      hmPrj.put("ProjectID", (new Integer(projectId)).toString());
      sendToAttic(userID, transactionID, "project", hmPrj);

      cvdl.setSql("project.deleteproject");
      cvdl.setInt(1, projectId);
      cvdl.executeUpdate();
      cvdl.clearParameters();

      cvdl.clearParameters();
      cvdl.setSqlQuery("SELECT * FROM projectlink WHERE projectid = ?");
      cvdl.setInt(1, projectId);
View Full Code Here

Examples of com.centraview.common.CVDal.executeUpdate()

    historyInfo.put("recordName", strTitle);
      CVUtility.addHistoryRecord(historyInfo,dataSource);

      cvdl.setSql("project.deleteprojecttimeslip");
      cvdl.setInt(1, projectId);
      cvdl.executeUpdate();
      cvdl.clearParameters();

      cvdl.setSql("project.deleteprojectlink");
      cvdl.setInt(1, projectId);
      cvdl.executeUpdate();
View Full Code Here
TOP
Copyright © 2015 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.