typeorm: Error connacting to Hana instance/ Error in Driver/Pool?

Issue type:

[x ] question [x] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] cockroachdb [ ] sqlite [ ] sqljs [ ] react-native [ ] expo [x] sap

TypeORM version:

[x] latest [ ] @next [ ] 0.x.x (or put your version here)

Hey all, I have a question/bugreport about the Sap Driver. Did the driver actually work ever on any Hana instance? I can’t connect to any Hana Instance at all and I think the problem relates to the npm module hdb-pool. This module seems to ignore additional properties which are as of now mandatory like encryptionetc. See issue

A minimal example would be any Hana Database hosted on Sap Cloud Platform. I have no Problems connecting with the standard Hana Client @sap/hana-client but trying to connect with hdb-pool or typeorm does not work at all with the same settings I use for Hana-client. My guess is that the encryption flag is missing/not passed on to the hana-client and therefore no connection is created

Could anybody confirm?

Best regards Mathias

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (6 by maintainers)

Most upvoted comments

Hello @mathiasmaerker,

I used your repo as an example to the Hana connection and I was able to make it work. Thanks a lot for your inputs and help!

Regards, Derick