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
Can a class be final?
What are the two basic ways in which classes that can be run as threads may be defined?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
Can you instantiate the math class in Java?
What is difference between overloading and overriding in java?
Is it possible for a yielded thread to get chance for its execution again?
What are the different http methods?
What is OOP's Terms with explanation?
What does business logic mean?
Can you explain the private protected field modifier?
Can we write a class without main method in java?
Why we cannot override static method?
What is lambda in java?
Is overriding possible in java?
Which arithmetic operations can result in the throwing of an arithmeticexception?