Makes a connection to the database.
public java.sql.Connection connect(java.lang.String Url,
java.util.Properties suppliedProperties)
參數
Url
A String value that contains the URL that is used to connect to the database.
suppliedProperties
A set of string value pairs used as connection arguments.
傳回值
A Connection object.
例外狀況
備註
This connect method is specified by the connect method in the java.sql.Driver interface.