Exemplo n.º 1
0
  /**
   * Retrieves the result of freeing the statement with the given id.
   *
   * @param csid the numeric identifier of the statement
   * @return the result of freeing the indicated statement
   */
  private Result sqlFreeStatement(int csid) {

    boolean existed;
    Result result;

    existed = compiledStatementManager.freeStatement(csid, iId);
    result = new Result(ResultConstants.UPDATECOUNT);

    if (existed) {
      result.iUpdateCount = 1;
    }

    return result;
  }