Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG] Actian/Pervasive cursor fails with specific queries following upgrade from 2.4.7

Open
#489 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
database

Research direction

Start with the README, especially the debugging and ODBC tracing instructions, then inspect the commit history around version 2.4.8 where static cursor mode was removed. Reproduce the reported Actian Zen/Pervasive query failure against the stated versions and trace the cursor configuration. Done means queries using cursors succeed while preserving the intended behavior for other ODBC drivers.

Written by the indexing model from the issue text.

Description

Describe your system

  • odbc Package Version: 2.5.0
  • ODBC Driver: Pervasive ODBC Interface
  • Database Name: Actian Zen / Pervasive
  • Database Version: 14
  • Database OS: Windows Server 2019
  • Node.js Version: 24.18.0
  • Node.js OS: Windows 11

Describe the bug
Following an upgrade of odbc from version 2.4.7 , cursors for some queries are resulting in the following error:

[Zen][ODBC Client Interface][LNA][Zen][SQL Engine]Invalid cursor position; no keyset defined.

After looking through the commit history, I saw that 2.4.8 removed the setting of static cursor mode to increase performance. This is not playing nice with this database. Do we have the option to add the specification of a cursor mode?

Expected behavior
Query to successfully run within a cursor

Dominant language
JavaScript
Stars
158
Forks
92
Avg merge
5h 59m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from IBM/node-odbc

All issues in IBM/node-odbc

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.