posted 18 years ago
Hi all,
I am currently using jdom and jdom-contrib to generate xml output by passing ResultSet object to the ResultSetBuilder class. My code will be shown in the following:
However, I want to get the number of the rows that were contained from the ResultSet Object. As you know, you can count it manually one by one by using the rs.next() method, however, I think it's not efficient. I just curious that if the Document Object has some method that tells me how many dataSet that were generated.
Thanks in advance
Transistor