• 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
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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: 39128
723
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: 39128
723
Eclipse IDE Java VI Editor
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!