Using Oracle Database (OracleDB) with your work helps your organization manage and analyze data more effectively. With OracleDB, you can store large amounts of structured information, run complex queries to gain insights and ensure data consistency across your systems.
Integrating your application to an Oracle database enables integration for data storage, retrieval, and various database functionalities.
Authentication
Before you begin, make sure you have the following information:
Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings. It could be something descriptive like "My App Oracle DB".Host Address: The Oracle database host’s IP address or DNS.Note
For URL-based hostnames, exclude the http:// or https:// part. For example, if the hostname URL is https://oracledb-qa.xxxx.ap-south-1.rds.amazonaws.com, enter oracledb-qa.xxxx.ap-south-1.rds.amazonaws.com.
Port Number: The port on which your Oracle server listens for connections. Default value: 1521.User: The authenticated user who has the permissions to read tables in your database.Password: The password for the database user.Service Name: Optional. The Oracle System Identifier or Service Name. If you leave it empty, it defaults to the Database Name or PDB Name. To retrieve the Service Name, open your Oracle server in any SQL client tool as a database user with SYSDBA privilege and enter the following command:select name from v$database;PDB Name: The Pluggable Database name. This field appears, and is required, when the CDB Database toggle is on.Schema Name: This represents the schema or user namespace within the Oracle database that contains tables, views, and other database objects.Connection: Choose how UnifyApps reaches your database. Directly (the default) connects straight to your Oracle database host. Via SSH connects through an SSH tunnel, so your Oracle setup isn't exposed to the public. Via On-Prem Agent connects through an on-prem agent; select its On-Prem Group. If you choose Via SSH, fill in these fields:SSH Host: Enter the hostname or IP address of the SSH server that acts as the gateway to your database. Example: ssh.example.com or 203.0.113.1SSH Port: Specify the port number on which the SSH server is listening. Default is usually 22, but it may be different for security reasons.SSH User: Provide the username for authenticating with the SSH server. This is typically the user account on the remote server with necessary permissions.RSA Private Key: Provide the RSA private key corresponding to the public key stored on the SSH server.Client Certificate: Shown when SSL Secure is on. Obtain a valid client certificate issued by a trusted Certificate Authority (CA). This certificate authenticates your client to the database server.SSL Certificate Key:This is the private key corresponding to your client certificate.Server Certificate: Obtain the database server's SSL certificate. This certificate verifies the server's identity to your client. Often provided by your database administrator or hosting service.
The form also has these fields:
Database Name: Required. The name of the Oracle database you want to connect to.
CDB Database: On by default. Keep it on if your database is a Container Database (CDB); the required PDB Name field then appears. Turn it off for a non-CDB database.
SSL Secure: On by default. Connects over an SSL-encrypted connection. When it's on, the form shows the Server certificate, Client certificate and SSL certificate key fields, and two more toggles:Trust all: Forces the client to trust any certificate chain. Self-signed server certificates are supported.Verify host: Checks the name stored in the server certificate against the domain name.
Actions
Action | Description |
|---|---|
| Creates a snapshot of table and store it in S3 |
| Deletes rows in a table in OracleDB |
| Executes a SQL statement in Oracle DB |
| Execute stored procedure in OracleDB |
| Export query result in CSV file |
| Inserts a row in a table in Oracle DB |
| Insert batch of rows in a table in OracleDB |
| Insert batch of rows via file in a table in OracleDB |
| Lists schemas in Oracle DB |
| Lists tables for a schema in Oracle DB |
| Run long query using custom SQL in OracleDB |
| Selects batch of rows from a table in Oracle DB |
| Selects batch of rows from a table using custom SQL in Oracle DB |
| Update batch of rows in a table in OracleDB |
| Updates rows in a table in Oracle DB |
| Upsert row in a table in OracleDB |
| Upsert batch of rows in a table in OracleDB |
Triggers
The following triggers are available to create custom automations on the Unifyapps platform:
Trigger | Description |
|---|---|
| Triggers when a row is deleted in Oracle DB |
| Triggers when a new event occurs in Oracle DB |
| Triggers when a row is inserted in Oracle DB |
| Triggers when a row is inserted or updated in Oracle DB |
| Execute query on specified schedule and return results as list of rows |
| Triggers when a row is updated in Oracle DB |