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 an example of a conditional statement?
How do you add an element to a hashset in java?
What is hashing principle in java?
What is variable and example?
What is hotjava?
How do you achieve polymorphism in java?
What does business logic mean?
Is hashset sorted in java?
What is contractor means and methods?
In case of inheritance what is the execution order of constructor and destructor?
Describe the various concepts related to object oriented programming (oop).
What is the difference between throw and throws keywords?
Can we override tostring method in java?
What does || || mean in math?
Are arrays primitive data types?