Using Connection URLs or the JDBC Driver Manager
In order of precedence, you can specify connection properties using:
• getConnection(url, user, password), where user and password are specified using the getConnection method defined in java.sql.DriverManager.
• java.util.properties object.
• Connection URL specified using the URL parameter of the getConnection method defined in java.sql.DriverManager.
• Server data sources specified using the OpenAccess SDK Manager.