JDBC Type 4 Driver 1.1 Programmer's Reference

For more information, see Internationalization (I18N) Support .
url Property
The url property sets the URL value for the MXCS association server. This property is used in
the DriverManager object. The format to specify the URL is:
jdbc:t4sqlmx//ip_address|machine_name:port_number/[:]
[property=value[;property2=value]...]
where ip_address|machine_name:port_number specifies the location where the
MXCS association server is running.
Data type: String
Default: none
For example:
url=jdbc:t4sqlmx://mynode.mycompanynetwork.net:18000/
url Property Considerations
If the url parameter is not specified and DriverManager.getConnection() is
called, the Type 4 driver throws an SQLException.
If you use a literal IPV4 or IPV6 address in a URL, note the following guidelines:
For IPV6 only, enclose the address in brackets ([ and ]).
The port number is optional according to both the IPV4 and IPV6 standard.
The default port number for the MXCS association server is 18650.
user Property
The user property sets the Guardian user-name value for to MXCS. The Guardian user name
passed must have adequate access permissions for SQL/MX data accessed through MXCS.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see How to Specify
JDBC Type 4 Properties.
Data type: String
Default: empty string
For example, user=NonStopSystem_username
Prev Up Next