What is the difference between Resultset and Rowset.
Answers were Sorted based on User's Feedback
Answer / praveen
ResultSet is not serialized whereas Rowset is serialized.
| Is This Answer Correct ? | 51 Yes | 6 No |
Answer / nidhi varshney
A ResultSet maintains a connection to a database and because
of that it can’t be serialized and also we cant pass the
Resultset object from one class to other class across the
network.
RowSet is a disconnected, serializable version of a JDBC
ResultSet and also the RowSet extends the ResultSet
interface so it has all the methods of ResultSet. The RowSet
can be serialized because it doesn’t have a connection to
any database and also it can be sent from one class to
another across the network.
| Is This Answer Correct ? | 44 Yes | 1 No |
Answer / divya
A ResultSet maintains a connection to a database and
because of that it can’t be serialized and also we cant
pass the Resultset object from one class to other class
across the network.
RowSet is a disconnected, serializable version of a JDBC
ResultSet and also the RowSet extends the ResultSet
interface so it has all the methods of ResultSet. The
RowSet can be serialized because it doesn’t have a
connection to any database and also it can be sent from one
class to another across the network.
| Is This Answer Correct ? | 21 Yes | 3 No |
Answer / nisha
A RowSet object contains a set of rows from a result set or
some other source of tabular data, like a file or
spreadsheet.
A ResultSet object represents the output table of data
resulted from a SELECT query statement.The data in a
ResultSet object is organized in rows and columns
| Is This Answer Correct ? | 25 Yes | 10 No |
Answer / lalit
ResultSet contains the result of the SQL query and it has
the connectivity with the records in the database. To avoid
the connectivity after getting the result use RowSet or
CacheRowSet. The ResultSet is the parent class of Rowset
and CacheRowSet.
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / anand g
A resultset maintains a connection to the database.
A rowset can be disconnected once it is populated with data
from the table.
resultset is not serializable
rowset is a serializable version of resultset and also it
extends resultset interface, so all the methods are present
in rowset also.
| Is This Answer Correct ? | 15 Yes | 3 No |
I dont want to use serialzable in java is there any another concept so plz tell me
whats the diff between jsp and servlets?
Can we use this () and super () in a method?
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
Have you worked on bits programming? examples?What is bit? How many bits are there in the byte?
What is the difference between scrollbar and scrollpane?
What is meant by Servelet? What are the parameters of service method?
What happens if we override private method?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
Is java type safe?
What is a 16 bit word?
Can you inherit from an abstract class java?