Direct Flight URL Syntax

The Direct Flight URL syntax is the same for all three overloads for the method. The URL is used to call the DriverManager.getConnection method. Your URL must use the following syntax:

jdbc:mf://server-list[/profile][@location][?property-list]

Where the parameters are:

server-list A comma-separated list of XDB Gateway Servers with the following format:
host1[:port1][,host2[:port2],...hostn[:portn]]

Where the parameters are:

server-list A comma-separated list of XDB Gateway Servers with the following format:
host1[:port1][,host2[:port2],...hostn[:portn]]

Where the parameters are:

profile The name of a data profile defined in the SYSXDB.SYSPROFILES table. The default is the data profile specified in the data profile default property, if one has been specified. See the section Defining a JDBC Data Profile for more information on data profiles.
location The name of the XDB location to which the applet or application connects. The default is the location specified in the data profile location property, if one has been specified. See the section Defining a JDBC Data Profile for more information on data profiles.
property-list An ampersand-separated list of property value pairs with the following format:
prop1=val1[[&prop2=val2]&...propn=valn]

Where the parameters are:

See the section Direct Flight Data Connection Properties for more information on the properties that you can set.

hostx The DNS name, host name, or IP address of an XDB Server.
portx The port number of the XDB Server on that machine. The default port for an XDB Server is 8898.
propx The name of a data connection property.
valx A valid value for the data connection property.
profile The name of a data profile defined in the SYSXDB.SYSPROFILES table. The default is the data profile specified in the data profile default property, if one has been specified. See the section Defining a JDBC Data Profile for more information on data profiles.
location The name of the XDB location to which the applet or application connects. The default is the location specified in the data profile location property, if one has been specified. See the section Defining a JDBC Data Profile for more information on data profiles.
property-list An ampersand-separated list of property value pairs with the following format:
prop1=val1[[&prop2=val2]&...propn=valn]

Where the parameters are:

See the section Direct Flight Data Connection Properties for more information on the properties that you can set.

Note:

You can add the prefix mf. to any property name in the URL except user and password.