Opening a Database Connection
Go Up to Developing InterClient Programs
After loading the driver, or explicitly creating one, you can open a connection to the database. There are two ways to do this: with the DriverManager
's getConnection
() method or the driver
object's connect
() method.