2 Replies Latest reply on Jun 10, 2003 2:50 AM by peixubin peixubin

    jboss cmp very slow

    peixubin peixubin Newbie

      like following code,how many sql call ?
      ...
      Collection c=home.findbyXXX();
      Iterator iter=c.iterator();
      while(iter.hasNext()){
      Entity1Local local=(Entity1Local )iter.next();
      iter.getField1();
      iter.getField2();
      iter.getField3();
      iter.getField4();
      ...
      }

      In Jboss's log file ,per getFieldX will sql call.