What is the difference between Resultset and Rowset.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bits is a boolean?

618


Why webdriver is an interface?

577


Difference between keyword and identifier.

590


Is java util list serializable?

535


What is identifier with example?

566






What are the differences between getting and load method?

542


What are assembly attributes?

543


How do you compare objects in java?

497


How do you reverse a word in java?

525


What is an inner class in java?

523


Differentiate between postfix and prefix operators in java.

638


What are the principle concepts of oops?

536


What is isa relationship?

562


Why does my function print none?

516


Is there any case when finally will not be executed?

521