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 happens if we override private method?
Explain purpose of sleep() method in java?
How to use string tokenizer class.
How do you remove duplicates in java?
What is the major difference between linkedlist and arraylist?
What is the difference between char and char *?
How do you use spaces in java?
List some java keywords sun like c, c + + keywords?
What is lossy conversion in java?
How do you convert an int to a double in java?
What are the files generated after using IDL to java compiler?
What is stack class in java?
What is the program development process?
When can you say a graph to be a tree?
What is tostring () method?