Meaningless Drivel is fun!*
The moose likes JDBC and the fly likes RowSet Vs ResultSet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "RowSet Vs ResultSet" Watch "RowSet Vs ResultSet" New topic
Author

RowSet Vs ResultSet

Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
Hi Bjarki,
What is the difference b/w RowSet and ResultSet.
Thx.


SCJP 1.5, SCEA, ICED (287,484,486)
rani bedi
Ranch Hand

Joined: Feb 06, 2001
Posts: 358
A table of data representing a database result set, which is usually generated by executing a statement that queries the database. A ResultSet object maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The next method moves the cursor to the next row, and because it returns false when there are no more rows in the ResultSet object, it can be used in a while loop to iterate through the result set.
A RowSet object contains a set of rows from a result set or some other source of tabular data, like a file or spreadsheet. Because a RowSet object follows the JavaBeansTM model for properties and event notification, it is a JavaBeans component that can be combined with other components in an application. As is true with other Beans, application programmers will probably use a development tool to create a RowSet object and set its properties

Cheers,<br />Rani<br />SCJP, SCWCD, SCBCD
Bjarki Holm
Author
Ranch Hand

Joined: May 25, 2001
Posts: 65
Anil,
that seems to have been taken care of...

------------------
Bjarki Holm
Author of Professional Java Data


Bjarki Holm
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RowSet Vs ResultSet
 
Similar Threads
what is RowSet?
rowset
Cached Rowset
Returning ResultSet
Cached Rowset