PrepAway - Latest Free Exam Questions & Answers

Which of the following is known as one of the first steps in obtaining a Connection under JDBC?

Which of the following is known as one of the first steps in obtaining a Connection
under JDBC?

PrepAway - Latest Free Exam Questions & Answers

A.
set up the database URL

B.
construct the class

C.
lock the target row

D.
lock the target table

E.
initialize the database locking property

F.
None of the above

Explanation:
Quoted directly from Sun’s Java document site at
http//developer.java.sun.com/ One of the first steps in obtaining a Connection is
often the most frustrating how to set up that @#$!!!@# database URL? As
mentioned earlier, the basics look very clean jdbc<subprotocol><subname>, with
the <subprotocol> identifying the machine or server and <subname> essentially
identifying the database. In practice, the content depends on the specific driver and
can be bewildering, ranking along with classpath problems in producing “no
suitable driver” errors.


Leave a Reply