Home » Oracle » 1z0-804 » 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.
Correct Answer: AC
Explanation/Reference:
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 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
Download Printable PDF. VALID exam to help you PASS.
|
|