Which two statements are true about RowSet subinterfaces?

Which two statements are true about RowSet subinterfaces?

Which two statements are true about RowSet subinterfaces?

A.
A JdbcRowSet object provides a JavaBean view of a result set.

B.
A CachedRowSet provides a connected view of the database.

C.
A FilteredRowSet object filter can be modified at any time.

D.
A WebRowSet returns JSON-formatted data.

Explanation:

A: a JdbcRowSet object can be one of the Beans that a tool makes available for composing an
application.
Because a JdbcRowSet is a connected RowSet, that is, it continually maintains its connection to a
databaseusing a JDBC technology-enabled driver, it also effectively makes the driver a
JavaBeans component.
C: The FilteredRowSet range criterion can be modified by applying a new Predicate object to the
FilteredRowSet instance at any time. This is possible if no additional references to the
FilteredRowSet objectare detected. A new filter has an immediate effect on criterion enforcement
within the FilteredRowSet object,and all subsequent views and updates will be subject to similar
enforcement.
Reference: javax.sql Interface RowSet



Leave a Reply 1

Your email address will not be published. Required fields are marked *