Mark Hiles wrote:
How do I get a call stack?

If using rs.last() is inefficient, is there a better way to determine how many
results my query has returned?

Many Thanks..

I do the following

try {
<code throwing the null pointer exception>
} catch (Exception e) {
e.printStackTrace();
}

I guess to find the number of rows in a result set I would iterate through the result set or
use a count(*) query.

But then I googled for the phrase "number of rows in a result set" and found an interesting related
discussion running here

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=3&t=008893

HTH,
Narayanan

Reply via email to