• Post Reply Bookmark Topic Watch Topic
  • New Topic

ResuletSet question (Sybex)  RSS feed

 
Tahir Abdullayev
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm not sure where I should report this kind of errors.
I've found error in online mock exams for this book.
In batch 1 of online mock exams there is question 55 which is:
"Which of the following is least likely to be supported by your JDBC driver?"
the correct answer should be:
"E ResultSet.TYPE_SCROLL_SENSITIVE"

But if you check answer for this question it shows that answer B is correct, which is: ResultSet.CONCUR_UPDATABLE"

I think this should be corrected.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36659
475
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tahir,
This forum is the right place. I moved your post to a new thread so it isn't "buried" amongst comments that were addressed.  (If you aren't sure, starting a new thread is preferable).

The questions occur in random order each time, so the question # doesn't help. Luckily you provided enough context that I could find the question:

Which of the following is least likely to be supported by your JDBC driver?
A. ResultSet.CONCUR_READ_ONLY
B. ResultSet.CONCUR_UPDATABLE
C. ResultSet.TYPE_FORWARD_ONLY
D. ResultSet.TYPE_SCROLL_INSENSITIVE
E. ResultSet.TYPE_SCROLL_SENSITIVE


I was all set to write why B is correct. But it isn't. Our book event supports E as an answer. You are right. I left what I wrote crossed out below in case anyone is curious.

"Databases and JDBC drivers are not required to support CONCUR_UPDATABLE. Unlike TYPE_SCROLL_SENSITIVE, an updatable result set is at least used on rare occasions". Which is
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36659
475
Eclipse IDE Java VI Editor
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!