Win a copy of Production-Ready Serverless (Operational Best Practices) this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

ResuletSet question (Sybex)  RSS feed

 
Greenhorn
Posts: 6
1
  • 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.
 
author & internet detective
Posts: 39195
725
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
Posts: 39195
725
Eclipse IDE Java VI Editor
 
Space pants. Tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!