skip to main content
About the Driver : Using the driver : Connecting from an Application : Connecting Using the JDBC Driver Manager : Passing Connection URLs
  

Try DataDirect Drivers Now
Passing Connection URLs
This section shows the correct format for specifying a connection URL.

Syntax

jdbc:datadirect:oracleservicecloud:loginHost=host;
[property=value[;...]]
where:
LoginHost
is the host name of the Oracle Service Cloud site to which you want to connect, for example, mysite.custhelp.com. This value should not include an internet protocol such as http:// or https://.
property=value
specifies connection property settings. Multiple properties are separated by a semi-colon. For more information on connection properties, see Using Connection Properties.
The install_dir/samples directory, where install_dir is your product installation directory, contains a sample application that illustrates the steps of connecting to an Oracle Service Cloud instance.
This example shows how to establish a connection to an Oracle Service Cloud data source and include user ID and password information:
jdbc:datadirect:oracleservicecloud:loginHost=mysite.custhelp.com;
User=test;Password=secret