Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove hdb-pool dependency from HANA driver #10786

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

viniscoelho
Copy link

@viniscoelho viniscoelho commented Mar 21, 2024

Description of change

Fixes #9890.

I have updated the SapDriver to use Node.js Connection Pooling, as pointed out by hdb-pool repo: https://help.sap.com/docs/SAP_HANA_CLIENT/f1b440ded6144a54ada97ff95dac7adf/e252ff9b2cb44dd9925901e39025ce77.html?q=connectionLifetime

I've also managed to connect with HANA express and run some tests. However, since the tests are too generic, there are some scenarios which fail as they do not exist on HANA.

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • npm run format to apply prettier formatting
  • npm run test passes with this change
  • This pull request links relevant issues as Fixes #0000
  • There are new or updated unit tests validating the change
  • Documentation has been updated to reflect this change
  • The new commits follow conventions explained in CONTRIBUTING.md

This commit also removes unused code and fix some typos.
This commit updates how SapDriver establishes connection with
HANA, as mentioned in the "Node.js Typescript Support" section
of the official documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SAP HANA: hdb-pool is deprecated - should use standard connection pooling
1 participant