A RowSet is an object that encapsulates a set of rows from either JDBC resultsets or tabular data sources like a file or spreadsheet.
RowSets support component-based development models like JavaBeans, with a standard set of properties and an event notification mechanism.
Types of RowSet
Connected
A connected RowSet object connects to the database once and remains connected until the application terminates.
Disconnected
A disconnected RowSet object connects to the database, executes a query to retrieve the data from the database and then closes the connection.
A program may change the data in a disconnected RowSet while it is disconnected.
Modified data can be updated in the database after a disconnected RowSet re-establishes the connection with the database.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.