Skip to main content

Oracle

Oracle is an open-source object-relational database system that allows you to safely store and scale the different data workloads.

Configuring Connector

Prerequisites

  1. Authentication Credentials: Gather necessary credentials for connecting to your Oracle instance.

  2. Connection Details:

    • Hostname of the Oracle database.
    • Port number for database access.
    • Database name within the Oracle host.
  3. Firewall Rules:

    • Set up firewall settings to permit DronaHQ (IP whitelist) access to your Oracle host.

Ensure these prerequisites are met for a smooth Oracle integration with DronaHQ, enabling efficient data management.

Connector Setup in DronaHQ

Configure your database category using the provided details. Validate connection with Test connection and Save settings for secure database setup.

General

FieldDescription
HostEnter the Host Domain or IP
PortEnter the Port number
Database NameEnter the Database name
UsernameEnter the Username
PasswordEnter the Password
Oracle with Sample details.
Oracle with Sample details.

Admin

Advanced OptionDescription
Connection OptionsThe key and value connection options in the database configuration refer to specific settings (keys) and their corresponding values that dictate how the application connects to the database
Use Dynamic Database HostDynamically determine the host for the database connection.
Use Dynamic Database NameSet the database name dynamically, allowing easy switching between databases.
Use Dynamic Database Credentials Enable dynamic database credentials for secure and convenient management.
Connect using SSL Securely access the database using an encrypted SSL connection, ensuring data integrity and confidentiality.
Whitelist IP Enhance security by restricting database access to specific whitelisted IP addresses.

Adding Database Queries

Once the connector is configured, access it in your Connector Library. Click Add query after connection setup. Create queries, run them, and view responses.

Write Queries
Write Queries
tip

Use double curly brackets for dynamic variables. Test with sample values before saving. Link dynamic variables to controls/actions for runtime use.

Saved queries appear under your connector in Connector Library.

Supported Query Operations

OperationsDescription
Raw SQL QueryVarious select, insert, delete, update, join operations.
Stored Procedure CallCall stored procedures e.g., CALL getUserInfo;

Using Oracle Connector

Data Bind using Data Query

Read/Display Data Query for Oracle:

Begin by crafting an SQL query to extract data from your Oracle database. For instance, let's consider an example where you want to retrieve all data from the Authors table. The SQL query is:

Query used:

SELECT * FROM Authors;

Query explanation:

This SQL query retrieves all rows and columns from the Authors table within the Oracle database.

Get all data query.
Get all data query.

Integrate the fetched data into your application's interface.

a. Access the Controls section and introduce the Table grid control.

b. Navigate to Data Bind Options -> Quick Select -> Connector Library..

c. Opt for the Oracle connector and choose the query that aligns with your data presentation goals.

By following these steps, you can seamlessly incorporate the retrieved data from the Authors table into your application's interface, enhancing its functionality and user experience.