Jeanne Boyarsky wrote:Steven,
I'm sure you read our rant in the chapter about what Scott and I think about the database topic coverage on the exam.
That said, you do not have to know the Oracle driver syntax on the exam. We used Oracle as the name in the example for the sake of picking something. What you do need to know is the simplified database url syntax. Knowing jdbc comes first and that a database name needs to be included is not memorizing the syntax. A and B don't have a database name at all.
Edmund Yong wrote:In the book Oracle Certified Professional Java SE11 Programmer II by Scott Selikoff and Jeanne Boyarsky, page 538 on JDBC, the following URL is listed as a valid one:
For this URL, there is no database indicated.
If the database is not specified, the connection is made with no default database.
Jeanne Boyarsky wrote:
We were trying to show that you shouldn't get too attached to the format for the later part of the string. You have to know that it starts with jdbc, has the db type (ex: mysql) and is colon delimited.
Edmund Yong wrote:
Then the following three should all be valid answers. After all, unless you are familiar with Oracle, you wouldn't know whether the database name is required or not.