Wednesday, June 3, 2015

JDBC RowSets

In J2SE 1.5, there are five new RowSet objects implemented.

CachedRowSet and WebRowSet are the most valuable on that.

The RowSet objects, unlike ResultSet objects, can operate without always being connected to a database or other data source. Without the expensive overhead of maintaining a connection to a datasource, they are much more lightweight than a ResultSet Object.

The CachedRowSet contains an in-memory collection of rows retrieved from the database that can, if needed, be synchronized at a later point in time.

The WebRowSet implementation, in addition, can write and read the RowSet in XML format.

1 comment:

Anonymous said...


thanks for the this good and short article