npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-bgs-oracledb

v0.1.7

Published

Custom Oracle Database node for n8n

Readme

n8n-bgs-oracledb

This is an n8n community node that lets you use Oracle Database in your n8n workflows.

Oracle Database is a multi-model database management system produced and marketed by Oracle Corporation. It is one of the most popular enterprise databases in the world.

n8n is a fair-code licensed workflow automation platform.

Table of Contents

Installation

Follow the installation guide in the n8n community nodes documentation.

Local Installation

  1. Clone this repository:
git clone https://github.com/askbgs/n8n-bgs-oracledb.git
cd n8n-bgs-oracledb
  1. Install dependencies:
npm install
  1. Build the node:
npm run build
  1. Link the node to n8n:
npm link
cd /path/to/n8n
npm link n8n-bgs-oracledb
  1. Start n8n:
n8n start

Prerequisites

Oracle Instant Client

This node requires Oracle Instant Client to be installed on your system.

Linux/Mac Installation:

  1. Download Oracle Instant Client from Oracle's website
  2. Extract the files to a directory (e.g., /opt/oracle/instantclient)
  3. Set the library path:
export LD_LIBRARY_PATH=/opt/oracle/instantclient:$LD_LIBRARY_PATH

Windows Installation:

  1. Download Oracle Instant Client from Oracle's website
  2. Extract the files to a directory (e.g., C:\oracle\instantclient)
  3. Add the directory to your PATH environment variable

Operations

  • Execute Query: Execute any SQL query with parameter binding support
  • Insert: Insert rows into a table
  • Update: Update existing rows in a table
  • Delete: Delete rows from a table
  • Execute Stored Procedure: Execute stored procedures with parameters

Credentials

To connect to your Oracle database, you'll need to configure the following credentials:

  • Host: The hostname or IP address of your Oracle server
  • Port: The port number (default: 1521)
  • Service Name: The Oracle service name (e.g., ORCL)
  • User: Your database username
  • Password: Your database password
  • Connection String (Optional): A full Oracle connection string that overrides host, port, and service name

Connection String Format:

(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL)))

Usage

Execute Query

Execute a SELECT query with parameter binding:

Query:

SELECT * FROM employees WHERE department_id = :deptId AND salary > :minSalary

Query Parameters:

{
  "deptId": 10,
  "minSalary": 50000
}

Insert

Insert data into a table:

  • Table: employees
  • Columns: employee_id,first_name,last_name,email,hire_date

Input data from previous node:

{
  "employee_id": 1001,
  "first_name": "John",
  "last_name": "Doe",
  "email": "[email protected]",
  "hire_date": "2024-01-15"
}

Update

Update existing records:

  • Table: employees
  • Update Key: employee_id

Input data:

{
  "employee_id": 1001,
  "salary": 75000,
  "department_id": 20
}

Delete

Delete records from a table:

  • Table: employees
  • Delete Key: employee_id

Input data:

{
  "employee_id": 1001
}

Execute Stored Procedure

Execute a stored procedure:

  • Procedure Name: UPDATE_EMPLOYEE_SALARY
  • Procedure Parameters:
{
  "emp_id": 1001,
  "new_salary": 80000
}

Features

  • ✅ Full CRUD operations support
  • ✅ Parameter binding to prevent SQL injection
  • ✅ Stored procedure execution
  • ✅ Transaction control (auto-commit option)
  • ✅ Configurable fetch size for large result sets
  • ✅ Type conversion for boolean values (converts to 0/1)
  • ✅ Proper null handling
  • ✅ JSON serialization for complex objects
  • ✅ Error handling with continue on fail support

Resources

Development

To contribute to this node:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Commands

# Install dependencies
npm install

# Build the node
npm run build

# Build in watch mode for development
npm run dev

# Run tests (when implemented)
npm test

Troubleshooting

NJS-045: Cannot load the oracledb add-on binary

This error indicates that Oracle Instant Client is not properly installed or configured. Make sure:

  1. Oracle Instant Client is installed
  2. The library path is correctly set
  3. The architecture (32-bit vs 64-bit) matches your Node.js installation

NJS-005: Invalid value for parameter

This error occurs when parameter types don't match. The node automatically converts:

  • Booleans to numbers (true → 1, false → 0)
  • Objects to JSON strings
  • Null/undefined to Oracle NULL

Connection Issues

  1. Verify your connection details (host, port, service name)
  2. Check if the Oracle listener is running
  3. Ensure firewall rules allow the connection
  4. Test the connection using SQL*Plus or another Oracle client

Version History

0.1.0

  • Initial release
  • Basic CRUD operations
  • Stored procedure support
  • Parameter binding
  • Type conversion

License

MIT

Author

BGS- [email protected]

Acknowledgments

  • Thanks to the n8n team for creating an amazing workflow automation platform
  • Oracle node-oracledb team for the excellent Node.js driver