db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shreyas Kaushik <Shreyas.Kaus...@Sun.COM>
Subject Re: Numer or rows in result?
Date Tue, 17 May 2005 10:06:39 GMT
Hi Paul ,

Yes. Right now there is no way this can be done. Two options depending 
on the type of the ResultSet you have,

~ scroll through and calculate the size, the counter way.
~ Populate a rowset and call the size() method there.

~ Shreyas

Paul J. Lucas wrote:

>     I can't seem to find a way to get the number of rows in the
>     current result via JDBC.  Is there a way to get the number of
>     rows in the result?
>
>     - Paul


Mime
View raw message