Re: How to count rows using metadata features of JDBC
- From: Alfred <user@xxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 16:24:00 +0200
Bryan E. Boone wrote:
If you have a jdbc driver that has cursor level access you can do:
resultset.last(); int rowCount = resultset.getRow();
Think that depends on your fetch size. And i'd say it's not a good idea inside large ResultSet's.
Good luck .
- References:
- How to count rows using metadata features of JDBC
- From: surfer dude
- Re: How to count rows using metadata features of JDBC
- From: Joe Weinstein
- Re: How to count rows using metadata features of JDBC
- From: Bryan E. Boone
- How to count rows using metadata features of JDBC
- Prev by Date: Re: Connection Pool Semantics
- Next by Date: Visualize master-detail relationships using SQL Edge 1.2
- Previous by thread: Re: How to count rows using metadata features of JDBC
- Next by thread: setting lock table on mysql via java mysql-connector-java-3.1.7-bin.jar
- Index(es):
Relevant Pages
|
|