Page 1 of 1

About Question enthuware.ocpjp.v8.2.1367 :

Posted: Tue Nov 01, 2016 6:31 pm
by UsernameTooShort
Should this question not at least say that it is talking about JDBC 4.0?
I assumed it was "safer" to call Class.forName before DriverManager.getConnection because it does not say what JDBC version it is.
And as far as I know Class.forName can be called anyway, and does not hurt.

Re: About Question enthuware.ocpjp.v8.2.1367 :

Posted: Tue Nov 01, 2016 9:57 pm
by admin
For the purpose of this exam, you need to assume that it is talking about JDBC 4.
Yes, calling forName does not hurt. But it is not a must, which is what the question is asking about.
HTH,
Paul.

Re: About Question enthuware.ocpjp.v8.2.1367 :

Posted: Tue Dec 11, 2018 3:12 am
by Touciuciu
Can you post a link with this information from an official source, please?
"For the purpose of this exam, you need to assume that it is talking about JDBC 4."

Re: About Question enthuware.ocpjp.v8.2.1367 :

Posted: Tue Dec 11, 2018 3:32 am
by admin
This exam is validated against Java SE 8. This is mentioned in Official exam page.
Java SE 8 uses JDBC 4.

Re: About Question enthuware.ocpjp.v8.2.1367 :

Posted: Tue Dec 11, 2018 3:43 am
by Touciuciu
So, if the JDBC version is not specified, then we need to assume that it is JDBC 4. This information is not stated in the official exam page and I needed to make sure if this is an official information or just an assumption of yours (no offence :) ). Thank you for your suupport

Re: About Question enthuware.ocpjp.v8.2.1367 :

Posted: Tue Dec 11, 2018 4:38 am
by admin
Yes, JDBC questions appearing on the exam require you to know JDBC 4 specific features (such as loading of driver). This also shows that JDBC 4 is the default for this exam.
Official exam page says Java SE 8. JDBC is part of Java SE and SE 8 uses JDBC 4. So, there is no confusion in our mind.