1 Reply Latest reply: Apr 29, 2013 10:26 AM by Timo Hahn RSS

    Iterator count getting 93 , but after 25 record  Row instance is zero.Expor

    user9010551
      Hi ,

      Am using 11g adf 11.1.1.5.

      Am using export functionality.Issue is when i see iterator count it is giving 93 . but when i loop to get records after 25 th record the Row instance is getting zero.

      int m = accsIter.getNavigatableRowIterator().getRowCount();
      System.out.println("Iterator Size:" + m);

      HttpServletResponse response =
      (HttpServletResponse)facesContext.getExternalContext().getResponse();
      response.setContentType("text/csv");
      response.setHeader("Content-Disposition",
      "attachment; filename = " + this.getFileName()+".csv");
      System.out.println("Upload Process Starts");

      for (int i = 0; i < m; i++) {
      Row currentRow = accsRSIter.getRowAtRangeIndex(i);
      System.out.println(" check iteratior :::"+accsRSIter.getRowCount()+"---"+accsRSIter.getRowAtRangeIndex(i));
      System.out.println(" disreqsearch:::::"+currentRow+"----"+out+"----"+i);

      }


      any suggestion to debug.

      thanks