About Question enthuware.ocpjp.v7.2.1370 :

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
Alexey Berezkin
Posts: 20
Joined: Fri Jun 19, 2015 9:17 am
Contact:

About Question enthuware.ocpjp.v7.2.1370 :

Post by Alexey Berezkin »

Answers and comments seem to be quite vague.
1. One advantage of CallableStatement is that it runs on the database.
- All queries run on the database.
It might seems that the question appeals to the advantages of stored procedures running in DB over the same algorithm first fetching data from DB then running in Java. This is often told to be the objective of introducing SPs to DB, and the answer seems to test knowing of this.
4. A CallableStatement is the only way for a Java program to execute stored procedures in the database (...)
Java program may employ any other DB framework that does not use CallableStatement directly. Maybe replace "for a Java program" to "in JDBC"?

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

Re: About Question enthuware.ocpjp.v7.2.1370 :

Post by admin »

1. The statement is about CallableStatement and not about advantage of stored procedures. You might get similar statements in the real exam as well.
2. You are right. This has been updated to say JDBC instead of Java.

thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests