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 is bytecode verifier?
Is 0 an even number?
What are the main concepts of oops in java?
Tell me how many ways are there to initialise an integer with a constant.
Explain method local inner classes ?
Why do we override tostring method in java?
Where is the singleton class used?
How garbage collection is done in java?
How do you replace a string in java?
How do you override a method in java?
Give few difference between constructor and method?
How many characters is 16 bytes?
What is the internal implementation of set in java?
Which class cannot be a subclass in java?
how many types of Inheritance?