What is the difference between Resultset and Rowset.

Answers were Sorted based on User's Feedback



What is the difference between Resultset and Rowset...

Answer / praveen

ResultSet is not serialized whereas Rowset is serialized.

Is This Answer Correct ?    51 Yes 6 No

What is the difference between Resultset and Rowset...

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

What is the difference between Resultset and Rowset...

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

What is the difference between Resultset and Rowset...

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

What is the difference between Resultset and Rowset...

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

What is the difference between Resultset and Rowset...

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

Post New Answer

More Core Java Interview Questions

why we use merge option in hybernate pls give a ex snippet

0 Answers   CoreObjects,


What is the difference between hashmap and hashtable? What is an interface?

0 Answers  


what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }

3 Answers   TCS,


Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1

7 Answers   Huawei, IBM,


How do you calculate square roots?

0 Answers  






What is exception hierarchy in java?

0 Answers  


What is the difference between a synchronized method and a synchronized block?

0 Answers  


What is the use of default method in interface in java?

0 Answers  


What are triggers in DB? Explain their types. How do they work?

0 Answers   Amdocs,


all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.

4 Answers  


How java is platform independent?

41 Answers   College School Exams Tests, Infosys, TCS,


What is the Scope of Static Variable?

0 Answers   Verifone,


Categories