SAP / node-hdb

SAP HANA Database Client for Node
Apache License 2.0
317 stars 98 forks source link

hdb and hana-client comparison wrt CAP #193

Closed DanSchlachter closed 2 years ago

DanSchlachter commented 2 years ago

Hello,

as for CAP applications hdb is the preferred library over hana-client and default for new projects, would it be possible to reflect this as well in the readme here and change the following:

When starting a new project, it is encouraged to use the fully featured @sap/hana-client driver

jeffalbion commented 2 years ago

Hello,

While it's true hdb is the default driver for CAP applications, it's also true we do not recommend hdb for general usage in other projects. @sap/hana-client is the default for many other SAP npm libraries (@sap/xsjs, @sap/hdbext, @sap/hdi-deploy, etc.)

The statement above is alluding to the fact that our primary development focus for new and fully supported features is the @sap/hana-client and we would encourage its adoption where possible.

Best regards, Jeff

larshp commented 2 years ago

note that the license for @sap/hana-client does not

(d) permit mass data extraction from an SAP product to a non-SAP product

CAP has the same license... I wonder if a custom application built with CAP is a SAP product, guess not