• Post Reply Bookmark Topic Watch Topic
  • New Topic

Errata on the review questions of chapter 10 JDBC - Sybex  RSS feed

 
Omar B. Cisse
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the kindle version of the OCP JP8 study Guide book, question 18 has A as the answer. (Same in the questions in Sybex)





But the answer is E because the statement was not set to be TYPE_SCROLL_INSENSITIVE or sensitive.
Using conn.createStatement() creates a statement with the default behavior TYPE_FORWARD_ONLY.

image_jdbc.png
[Thumbnail for image_jdbc.png]
image_jdbc2.png
[Thumbnail for image_jdbc2.png]
image_jdbc3.png
[Thumbnail for image_jdbc3.png]
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37256
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Omar,
Welcome to CodeRanch!

You are correct. In fact this was already reported (originally here) and is in the errata
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!