> The point is I'd rather avoid 2 calls where 1 will do. AbstractPageableView > will do fine I believe.
You can do the counting and the actual query in one go, with something like this if you happen to be running on Oracle: select data, count(data) over (order by rownum rows between unbounded preceding and unbounded following ) cnt from ( select 1 data from dual union select 2 data from dual ) Andras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]