Micro FocusĀ Enterprise DeveloperĀ 3.0 for Visual Studio 2013
>
Programming
>
Mainframe Programming
>
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: