Oracle DB
ToolJet can connect to Oracle databases to read and write data.
Connection
To establish a connection with the Oracle DB Datasource, you can either click on the + Add new Data source button located on the query panel or navigate to the Data sources page through the ToolJet dashboard.
Basic Connection
ToolJet requires the following to connect to an Oracle DB datasource:
- Username
- Password
- Host
- Port
- SID / Service Name
- Database Name
- Client Library Location
- Instant Client Version
Enter either a SID or a Service Name depending on your Oracle configuration. A SID identifies a specific database instance, while a Service Name identifies a database service and is commonly used in modern Oracle deployments.
Client Versions and Compatibility
ToolJet uses Oracle DB connections in thick mode and includes the following Oracle Instant Client versions by default:
- Oracle Instant Client 21.10 – Supports Oracle Database 11.2 and later.
- Oracle Instant Client 11.2 – Supports Oracle Database 10.2 and later.
If your environment requires a different Oracle Instant Client version, you can configure ToolJet to use a custom client library by providing its path or mounting it into the deployment.
Thick Mode ( TNS/Wallet File Path)
The following are required to make a Thick Mode Connection with Oracle DB.
- Username
- Password
- TNS alias
- Configuration directory
- Oracle wallet path
- Wallet password
Thin Mode ( TNS/Wallet Zip Upload)
The following are required to make a Thin Mode Connection with Oracle DB.
- Username
- Password
- TNS alias
- Oracle wallet (.zip)
- Wallet password
Dynamic Connection
ToolJet allows overriding Oracle DB connection parameters such as host and database directly at query runtime when dynamic connection parameters are enabled in the Datasource configuration page. This enables a single data source to support multiple environments or tenants without requiring separate configurations.
Querying Oracle DB
- Click on + Add button of the query manager at the bottom panel of the editor.
- Select the OracleDB Datasource added in previous step.
- Select the desired query mode.
- Click on the Preview button to preview the output or Click on the Run button to trigger the query.
Supported Operations
SQL mode
SQL mode can be used to write raw SQL queries.
SELECT first_name, last_name, email
FROM employees
WHERE department_id = 15
ORDER BY last_name;