Updated on 2024-04-23 GMT+08:00

Oracle

The Oracle connector is used to connect to an Oracle database by establishing and maintaining the connection between applications and the database, and managing data transmission.

  • Oracle is a relational database featuring high performance.
  • The default Oracle port number is 1521. The administrator can change the port number as required.

Creating an Oracle Connection

  1. Log in to the new ROMA Connect console.
  2. In the navigation pane on the left, choose Connector. On the page displayed, click New Connection.
  3. Select the Oracle connector.
  4. In the dialog box displayed, configure the connector and click OK.

    Parameter

    Description

    Name

    Enter the connector instance name.

    Region

    Select a region.

    Project

    Select a project.

    Instance

    Select an instance for subsequent connectivity verification.

    Connection and Security

    Select the connection mode for the database.

    • Default: The system automatically concatenates data source connection character strings based on configured data.
    • Professional: You need to specify the data source connection string manually.

    IP Address

    Required when Connection and Security is set to Default.

    Enter the IP address of the database.

    Port

    Required when Connection and Security is set to Default.

    Enter the port number to which the database is connected.

    Database Name

    Required when Connection and Security is set to Default.

    Enter the name of the database to be connected.

    Encoding Format

    Required when Connection and Security is set to Default.

    Enter the encoding format of the database.

    Timeout

    Required when Connection and Security is set to Default.

    Enter the timeout interval for connecting to the database.

    Connection String

    Required when Connection and Security is set to Professional.

    Enter the JDBC connection string of the Oracle database, for example, jdbc:oracle:thin:@{hostname}:{port}:{dbname}.

    Username

    Enter the username used to connect to the database.

    Password

    Enter the password used to connect to the database.

    Description

    Enter the description of the connector to identify it.

Action

  • Obtaining records
  • Adding records
  • Updating records
  • Deleting records

Configuration Parameters

Table 1 Obtaining records

Parameter

Description

Table Name

Name of the table where data will be queried.

Column name

Column name of the data table.

WHERE Condition

Enter the condition value (enclose it in single quotation marks) of the data to be queried.

Order By Field

Enter the sorting fields of the returned result.

Limits

Enter the number of records on each page in the returned result.

Offset

Enter the offset of the pagination query.

Table 2 Adding records

Parameter

Description

Table Name

Name of the table where data will be inserted.

Data to Insert

Enter the value (enclose it in single quotation marks) to be inserted.

Table 3 Updating records

Parameter

Description

Table Name

Name of the table where data will be updated.

Data to Update

Enter the updated value (enclose it in single quotation marks).

WHERE Condition

Enter the condition value (enclose it in single quotation marks) of the data to be updated.

Table 4 Deleting records

Parameter

Description

Table Name

Name of the table where data will be deleted.

WHERE Condition

Enter the condition value (enclose it in single quotation marks) of the data to be deleted.