About Question enthuware.ocpjp.v11.2.3366 :

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
olsongrant
Posts: 8
Joined: Mon Nov 02, 2020 10:21 pm
Contact:

About Question enthuware.ocpjp.v11.2.3366 :

Post by olsongrant »

jdbc:derby:1106:sample is the last answer choice. The question is about which answer choices are valid JDBC URLs. The criteria seems to be the following:
1) must start with jdbc
2) must have at least three parts, separated by colons
3) format is jdbc:<subprotocol>:<subname>
4) While the subname portion typically has a hostname and a port in it, the subname is not required to carry those elements.
5) having more than two colons is acceptable -- many popular JDBC drivers have URLs with three or four colons in them.

Which of the rules am I not understanding? How is jdbc:derby:1106:sample not valid?

Grant

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

Re: About Question enthuware.ocpjp.v11.2.3366 :

Post by admin »

Yes, technically, just from the JDBC url rules perspective it should be correct as well.
Although from derby perspective it should be: jdbc:derby:[subsubprotocol:][databaseName][;attribute=value]*
1106 would not be a valid subprotocl or database name.

Updated the option and explanation to make it clear.

thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 6 guests