Oracle Connector Setup

Version 22.0.8209


Oracle Connector Setup


The Oracle connector allows you to integrate Oracle into your data flow by pushing or pulling data from Oracle. Follow the steps below to connect ArcESB to Oracle.

Establish a Connection

To allow ArcESB to use data from Oracle, you must first establish a connection using login credentials. You can create the connection from either the connector configuration pane or the Connections tab of the Settings page.

Note:

  • The login process is only required the first time the connection is created.
  • Connections to Oracle can be re-used across multiple Oracle connectors.

From the Connector Configuration Pane

  1. Drag the Oracle connector into an ArcESB flow and give it a name.

  2. In the Connector Configuration pane, click + Create next to the Connection drop-down list.

  3. The Add Connection modal appears. Provide the requested information:

    • Name — The static name of the connection. Set this as desired.
    • Type — This is always set to Oracle.
    • Connection Type — The connection type (SID or Service Name) to use.
    • User — The username to use for logging in.
    • Password — The password for the user entered above.
    • Server — The address of the Oracle server you want to connect to.
    • Port — The port to use when connecting to the server.
    • SID/Service — The SID or Service (depending on Connection Type chosen) to use when connecting.
    • Other — Other authentication information if needed.
  4. If needed, click Advanced to open the drop-down menu of advanced connection settings. These should not be needed in most cases.

  5. Click Test Connection to ensure that ArcESB can connect to Oracle with the provided information. If an error occurs, check all fields and try again.

  6. Click Add Connection to finalize the connection.

  7. In the Connection drop-down list of the connector configuration pane, select the newly-created connection.

  8. Click Save Changes.

From the Settings Page

  1. Open the Settings page, and then click the Connections tab.

  2. Click Add to open the Connection Type modal.

  3. Click Oracle, then click Next.

  4. Continue from step 3 above for Connection Configuration Pane.

Select an Action

After establishing a connection to Oracle, you must choose the action that the Oracle connector will perform. The table below outlines each action and where it belongs in an ArcESB flow.

Action Description Position in Flow
Upsert Inserts or updates Oracle data. By default, if a record already exists in Oracle, an update is performed on the existing data in Oracle using the values provided from the input. End
Lookup Retrieves a value from Oracle and inserts that value into an already-existing Arc message in the flow.
The Lookup Query determines what value the connector will retrieve from Oracle. It should be formatted as a SQL query against the Oracle tables.
Middle
Select Retrieves data from Oracle and brings it into ArcESB.
You can use the Filter panel to add filters to the Select. These filters function similarly to WHERE clauses in SQL.
Beginning
Execute Stored Procedures Treats data coming into the connector as input for a stored procedure, and then passes the result down the flow.
You can click the Show Sample Data button to provide sample inputs to the selected Stored Procedure and preview the results.
Middle