Micro FocusĀ Enterprise Test Server 2.3 Update 1
>
Data Access
>
Database Access
>
SQL Option for DB2
>
SQL Option User Guide
>
JDBC
>
Connecting to an XDB Server
>
Overloads for the DriverManager.getConnection Method
>
Overload 1
Overload 1
Parameters:
URL
The XDB Server URL (String)
AuthID
The AuthID used to log on to the XDB Server (String)
Password
The password associated with the AuthID (String)
Connection Properties
Data connection properties defined in the URL itself or in a data profile
Comments:
Use Overload 1 if you:
Only have a few properties values to set
Have defined a data profile in which most of the values of the data connection properties are set
Do not want to define a Properties Object
Need to change from using the Direct Flight driver to other JDBC drivers in your code
Examples:
Parent topic:
Overloads for the DriverManager.getConnection Method
Comments:
Use Overload 1 if you: