What is the difference between Resultset and Rowset.
Answer Posted / 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 |
Post New Answer View All Answers
What do you mean by stack?
What are the two parts of a conditional statement?
What is sizeof in java?
What do you mean by garbage collection used in java?
What is the difference between replace and replace all?
Explain about method local inner classes or local inner classes in java?
Why we override equals() method?
What is the default value of byte datatype in java?
What is the purpose of a parameter?
Define "Access specifiers" in java.
What is wrapper class example?
What is a percentage sign called?
What is ‘is-a ‘ relationship in java?
Is age a discrete variable?
What does java ide mean?