Copyright © 2001 Qusay H. Mahmoud
Establish a connection
lOnce a driver is loaded, it is time to establish a connection with the database
lA request for a
connection is made through a call to
DriverManager.getConnection
lExample:
l
lConnection con =
DriverManager.getConnection(url, “user”,
“passwd”);