RE: Pagination query

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Mar 01 2005 - 13:47:20 EST

  • Next message: Joshua Pyle: "Re: Pagination query"

    Sami,

    I understand that you are stuck at the moment. But please don't repost
    your question over and over again. Somebody (maybe myself) will look at
    it, just give it some time. That's the nature of free support - people are
    willing to give their time to community, but you shouldn't push too hard.

    Andrus

    > HI
    >
    > any body help me .
    > page reterives all the rows from the table.
    > see code below
    >
    > SelectQuery
    > cwDataQuery
    > = new
    > SelectQuery(cwClass);
    > cwDataQuery.addOrderings(cwObject.getViewOrderings());
    > //cwDataQuery.setFetchLimit(100);
    > cwDataQuery.setPageSize(25); // HERE I AM SETTING PAGE SIZE =25
    > BUT STILL ITS RETRIVING ALL THE ROWS FROM THE TABLE WHATS THE
    > PROBLEM
    >
    >
    > // Perform the query
    > List resultList = context.performQuery(cwDataQuery);
    > THANKS
    > SAMI
    >
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 01 2005 - 13:47:22 EST