Getting started
:
Connecting using the DriverManager
Try DataDirect Drivers Now
Connecting using the DriverManager
You can connect to an Oracle Eloqua 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:eloqua:Company=ABCcorp;User=123@abccorp.com;Password=secret")
In this section:
Setting the class path
Passing the connection URL
Testing the connection