ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Urbaneja" <urbanej...@gmail.com>
Subject groupBy with queryForList with skip and max
Date Mon, 18 Sep 2006 09:49:15 GMT
It seems (for the results i'm getting now) that in
"

*queryForList*(java.lang.String id,
                                   java.lang.Object parameterObject,
                                   int skip,
                                   int max)

Executes a mapped SQL SELECT statement that returns data to populate a
number of result objects within a certain range.
"

skip is referring to the rows skipped in the resultset and not to skipped
result objects.

I've seen it stated here:
http://www.mail-archive.com/user-java@ibatis.apache.org/msg00829.html
but it's a year old post.

Can anybody confirm this?
If it's true, maybe the warning note in page 38 of the devoloper guide,
about combining groupBy and PaginatedList, could mention this as well, as is
generating confusing results.

If all that is correct i can make the modification if it is needed.

Thank you for your attention.

Mime
View raw message