After registering the drivers, pass the connection information in the form of a connection URL. This example establishes a connection to a Microsoft SQL Server database and includes user ID and password information for the connection:
The following sections provide URL formats that you can use as templates to create your own connection URLs, substituting the appropriate values for your database: