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
What are three ways in which a thread can enter the waiting state in java programming?
Why synchronization is important in java?
Can we assign null to double in java?
Why string is immutable with example?
What carriage return means?
What is the symbol for line break?
What is javac used for?
What do you mean by hashing?
What are the advantages of defining packages in java?
What are the methods of object class ?
How can a gui component handle its own events in java programming?
Differentiate between a class and an object.
What is a class instance variable?
Difference between serialization and deserialization in java?
What is integer size in java?