The instance of RowSet is the java bean component because it has properties and java bean notification mechanism. It is introduced since JDK 5. It is the wrapper of ResultSet. It holds tabular data like ResultSet but it is easy and flexible to use. The implementation classes of RowSet interface are as follows:

  1. JdbcRowSet
  2. CachedRowSet
  3. WebRowSet
  4. JoinRowSet
  5. FilteredRowSet

Let's see how to create and execute RowSet.

Flash Soon

Advantage of RowSet

The advantages of using RowSet are given below:

1 It is easy and flexible to use

2 It is Scrollable and Updatable bydefault


© Sapster 2017