What is the meaning of ResultSet.TYPE_SCROLL_INSENSITIVE

  1. O (a) This means that the ResultSet is insensitive to scrolling

  2. O (b) This means that the Resultset is sensitive to scrolling, but insensitive to updates, i.e. not

  3. O (c) This means that the ResultSet is sensitive to scrolling, but insensitive to changes made

  4. O (d) The meaning depends on the type of data source, and the type and version of the driver


Correct Option: C

AI Explanation

To answer this question, we need to understand the meaning of the constant "ResultSet.TYPE_SCROLL_INSENSITIVE" in the context of database result sets.

Option A) This option is incorrect because it states that the ResultSet is insensitive to scrolling. However, the correct meaning of "ResultSet.TYPE_SCROLL_INSENSITIVE" is that the ResultSet is sensitive to scrolling.

Option B) This option is incorrect because it states that the ResultSet is sensitive to scrolling but insensitive to updates. However, the correct meaning of "ResultSet.TYPE_SCROLL_INSENSITIVE" is that the ResultSet is sensitive to scrolling but insensitive to changes made.

Option C) This option is correct. "ResultSet.TYPE_SCROLL_INSENSITIVE" means that the ResultSet is sensitive to scrolling, but insensitive to changes made. It allows you to move the cursor both forward and backward in the ResultSet, but any changes made to the data by other processes or transactions are not reflected in the ResultSet.

Option D) This option is incorrect because it states that the meaning depends on the type of data source and the type and version of the driver. However, the meaning of "ResultSet.TYPE_SCROLL_INSENSITIVE" is consistent across different data sources and drivers.

Therefore, the correct answer is Option C) This means that the ResultSet is sensitive to scrolling, but insensitive to changes made.

Find more quizzes: