Passing Connection URLs
- Last Updated: November 20, 2019
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Service Cloud 5.1
- Documentation
Syntax
This section shows the correct format for specifying a connection URL.
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