Yes. That's the reason I am asking the question.
It seems not give me what I expect as mentioned in the question.


Larry Meadors wrote:
Did you try it?

Larry


On Dec 20, 2007 1:09 PM, John Chien <[EMAIL PROTECTED]> wrote:
Question about :

public List queryForList(String statementName, Object parameterObject,
int skipResults, int maxResults) throws SQLException

Suppose I have a list of 1625 elements.

The first time I call using               queryForList(statementName,
parameterObject, 0, 500) will give me the first 500 elements,
The second time I call using          queryForList(statementName,
parameterObject, 500, 500) will give me the next 500 elements, (501 - 1000)
The third time I call using              queryForList(statementName,
parameterObject, 1000, 500) will give me the next 500 elements, (1001 -
1500)
The fourth time I call using            queryForList(statementName,
parameterObject, 1500, 500) will give me the next 125 elements, (1501 -
1625)


Am I correct about the use of it ?

Thanks,

John Chien

begin:vcard
fn:John Chien
n:Chien;John
email;internet:[EMAIL PROTECTED]
tel;work:919-715-2510
version:2.1
end:vcard

Reply via email to