A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
JDBC and Relational Databases
Result Set method that returns all rows
Joined: Jun 04, 2008
Jul 01, 2011 03:57:35
I would like to know one thing that is ; is there a method of Result Set that returns all rows.I searched in documentations but cannot find it. Please do help me .
Thanks a lot.
author & internet detective
Joined: May 26, 2003
Jul 01, 2011 06:53:39
No. You'd have to write a loop to get all the data out of a result set. A cached result set will return a result set disconnected from the database, but it is still a result set.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Result Set method that returns all rows
null object in result sets
Determine Rows in a ResultSet?
A Very little problem in h:dataTable implementation
why is the List returning empty?
Callable Statement Resultset
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015