About Question enthuware.ocpjp.v8.2.1197 : probably typos

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
jankur
Posts: 11
Joined: Wed Dec 07, 2016 3:21 pm
Contact:

About Question enthuware.ocpjp.v8.2.1197 : probably typos

Post by jankur »

Hi, probably there are some typos in the explanation: there is Savepoint interface, not SavePoint, and there is Connection.setSavepoint method, not Connection.setSavePoint:
The SavePoint feature of JDBC is tailor made for this purpose.
and
SavePoint savePoint1 = connection.setSavePoint("step1done");
Additionally: comments could be changed from \\1 and \\2 (now they don't compile) to //1 and //2 respectively in:
stmt.executeUpdate("update student set status=1"); \\1
[...]
stmt.executeUpdate("update student set gpa=4.0"); \\2

Online
admin
Site Admin
Posts: 10043
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1197 : probably typo

Post by admin »

You are right. Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests