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 database using 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 object are detected. A new filter has 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 2

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