Connecting using the DriverManager
- Last Updated: October 25, 2017
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Sales Cloud 6.0
- Documentation
You can connect to an Oracle Sales Cloud instance using the JDBC DriverManager with the DriverManager.getConnection() method. As the following example shows, this method
specifies a string containing a connection URL.
Connection conn = DriverManager.getConnection
("jdbc:datadirect:oraclesalescloud://mysite.custhelp.com;User=123@abccorp.com;Password=secret");