VOOZH about

URL: https://www.cdata.com/kb/tech/eloquareporting-jdbc-denodo-vdp.rst

⇱ Connect to Oracle Eloqua Reporting Data in the Denodo Platform


Connect to Oracle Eloqua Reporting Data in the Denodo Platform

πŸ‘ Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Use CData driver technologies to create a virtual data source for Oracle Eloqua Reporting data in the Denodo Virtual DataPort Administrator.

Denodo Platform is a data virtualization product providing a single point of contact for enterprise database data. When paired with the CData JDBC Driver for Oracle Eloqua Reporting, Denodo users can work with live Oracle Eloqua Reporting data alongside other enterprise data sources. This article explains how to create a virtual data source for Oracle Eloqua Reporting in the Denodo Virtual DataPort Administrator.

With built-in optimized data processing, the CData JDBC Driver offers unmatched performance for interacting with live Oracle Eloqua Reporting data. When you issue complex SQL queries to Oracle Eloqua Reporting, the driver pushes supported SQL operations, like filters and aggregations, directly to Oracle Eloqua Reporting and utilizes the embedded SQL engine to process unsupported operations client-side (often SQL functions and JOIN operations). Its built-in dynamic metadata querying allows you to work with and analyze Oracle Eloqua Reporting data using native data types.

Create the Oracle Eloqua Reporting Virtual Port

To connect to live Oracle Eloqua Reporting data from Denodo, you need to copy the JDBC Driver JAR file to the external library directory for Denodo and create a new JDBC Data Source from the Virtual DataPort Administrator tool.

  1. Download the CData JDBC Driver for Oracle Eloqua Reporting installer, unzip the package, and run the JAR file to install the driver.
  2. Copy the JAR File (and license file if it exists) from the installation location (typically C:\Program Files\CData\CData JDBC Driver for Oracle Eloqua Reporting\lib\) to the Denodo external library directory (C:\Denodo\Denodo Platform\lib-external\jdbc-drivers\cdata-oracleeloquareporting-19).
  3. Open the Denodo Virtual DataPort Administrator tool and navigate to the Server Explorer tab.
  4. Right-click "admin" and select New -> Data source -> JDBC. πŸ‘ Creating a new JDBC data source.
  5. Configure the JDBC Connection:
    • Name: your choice, e.g.: oracleeloquareporting
    • Database adapter: Generic
    • Driver class path: C:\Denodo\Denodo Platform\lib-external\jdbc-drivers\cdata-oracleeloquareporting-19
    • Driver class: cdata.jdbc.oracleeloquareporting.OracleEloquaReportingDriver
    • Database URI: Set this to a JDBC URL using the necessary connection properties. For example,

      jdbc:oracleeloquareporting:AuthScheme=Basic;User=user;Password=password;Company=MyCompany;

      πŸ‘ Configuring the JDBC connection (NetSuite is shown).

      Information on creating the Database URI follows:

      Built-In Connection String Designer

      For assistance in constructing the JDBC URL, use the connection string designer built into the Oracle Eloqua Reporting JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

      	java -jar cdata.jdbc.oracleeloquareporting.jar
      	

      Fill in the connection properties and copy the connection string to the clipboard.

      Oracle Eloqua Reporting supports the following authentication methods:

      • Basic authentication (User and Password)
      • OAuth 2.0 code grant flow
      • OAuth 2.0 password grant flow

      Basic Authentication (User and Password)

      To perform authentication with a user and password, specify these properties:

      • AuthScheme: Basic.
      • Company: The company name associated with your Oracle Eloqua Reporting account.
      • User: Your login account name.
      • Password: Your login password.

      OAuth Authentication (Code Grant Flow)

      To authenticate with the OAuth code grant flow, you must set AuthScheme to OAuth and create a custom OAuth application. For information about how to create a custom OAuth application, see the Help documentation.

      Then set the following properties:

      • InitiateOAuth: GETANDREFRESH. Used to automatically get and refresh the OAuthAccessToken.
      • OAuthClientId: The client Id assigned when you registered your application.
      • OAuthClientSecret: The client secret that was assigned when you registered your application.
      • CallbackURL: The redirect URI that was defined when you registered your application.

      When you connect, the driver opens Oracle Eloqua Reporting's OAuth endpoint in your default browser. Log in and grant permissions to the application. When the access token expires, the driver refreshes it automatically.

      OAuth Authentication (Password Grant Flow)

      With the OAuth password grant flow, you can use your OAuth application's credentials alongside your user credentials to authenticate without the need to grant permission manually via a browser prompt. You must create an OAuth app (see the Help documentation) to use this authentication method.

      Set the following properties:

      • AuthScheme: OAuthPassword
      • Company: The company's unique identifier.
      • User: Your login account name.
      • Password: Your login password.
      • OAuthClientId: The client Id assigned when you registered your custom OAuth application.
      • OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.
      πŸ‘ Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)
  6. Click the "Test connection" button to confirm the configuration and click Save.

View Oracle Eloqua Reporting Data in the VirtualPort Administrator Tool

After creating the data source, you can create a base view of Oracle Eloqua Reporting data for use in the Denodo Platform.

  1. Click the "Create base view" button in the newly created VirtualPort (admin.OracleEloquaReporting).
  2. Expand the object tree and select the objects (tables) you wish to import. πŸ‘ Selecting objects to import (NetSuite is shown).
  3. Click the "Create selected" button to create views of the Oracle Eloqua Reporting data.
    Optional: Click "Create associations from foreign keys" to define relationships between the objects.
  4. With the view(s) created, navigate to a table (cdata_oracleeloquareporting_) in the Server Explorer and double-click the selected table.
  5. In the new tab, click "Execution panel" to open a query panel.
  6. Customize the query in the "Execute" tab or use the default:
    SELECT * FROM cdata_oracleeloquareporting_ CONTEXT ('i18n'='us_est', 'cache_wait_for_load'='true')
    
    πŸ‘ Configuring the query to view the data.
  7. Click Execute to view the data. πŸ‘ Viewing the data.

With the base view created, you can now work with live Oracle Eloqua Reporting data like you would any other data source in Denodo Platform, for example, querying Oracle Eloqua Reporting in the Denodo Data Catalog.

Download a free, 30-day trial of the CData JDBC Driver for Oracle Eloqua Reporting and start working with your live Oracle Eloqua Reporting data in Denodo Platform. Reach out to our Support Team if you have any questions.

Ready to get started?

Download a free trial of the Oracle Eloqua Reporting Driver to get started:

 Download Now

Learn more:

πŸ‘ Oracle Eloqua Reporting Icon
Oracle Eloqua Reporting JDBC Driver

Rapidly create and deploy powerful Java applications that integrate with Oracle Eloqua Reporting.