Using the Drivers : Connecting Using the JDBC Driver Manager : Specifying Connection URLs : URL Format: DataDirect Connect XE® for JDBC

URL Format: DataDirect Connect XE® for JDBC
Syntax 
jdbc:datadirect:sforce:[//server_name][;property=value[;...]]
where:
server_name
Is the URL of the Salesforce instance to which you want to connect, for example, login.salesforce.com or test.salesforce.com. If you do not specify, login.salesforce.com is used as the value.
property=value
Specifies connection properties. Multiple properties are separated by a semi-colon. Required connection properties are User and Password. For a complete list of connection properties supported by the Salesforce driver and their valid values, see Salesforce Driver.
The install_dir/samples directory, where install_dir is your product installation directory, contains a sample application that illustrates the steps of connecting to a Salesforce instance.
The following table shows some typical driver connection URLs for each driver.
 

1
This example shows a connection URL for connecting to a Salesforce sandbox instance.

2
Because this example does not specify a Salesforce instance, login.salesforce.com is used as the default value.


© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.