@sap/hana-client
SAP's own Node.js driver for SAP HANA: connect, run SQL and prepared statements, synchronously, through callbacks or as promises, over native client libraries npm installs per platform.
Reaching SAP HANA from Node.js with no framework database layer in between: a connection is opened with connect, statements run with exec, and prepare returns a statement executed with parameters, the same calls available synchronously, through callbacks, or as promises through the package's own extension/Promise.js module. Connection details are passed to the call or taken from a key in the hdbuserstore, so a host, port and password need not sit in the source. The driver is not JavaScript alone: it contains native libraries, npm downloads the ones for every available platform on install, the Node.js driver shipped with the SAP HANA client is 64-bit only, and that client install carries the same driver for a machine that already has it. In a CAP project it is not what runs unless it is asked for, since @cap-js/hana@cap-js/hanaThe HANA database service — the production default, on the same streamlined architecture as the SQLite and PostgreSQL services.sap official, cap uses hdb by default and adding this package to the dependencies takes precedence over that.
Facts
Where it sits
Who is behind it
In the atlas: maintains 137, wrote 14@SAPmaintainer
What it declares
Every artifact
- Type
- Package
- Origin
- By SAP
- Runtime
- Node.js
As a package
- Where it runs
- does not say
- Distributed through
- does not say
Connections
Connecting a data model and its queries to a database
SAP HANA database service for CAP
MCP proxy pinning an agent's ABAP tools to one SAP system
Download
Install
npm add @sap/hana-clientDerived from the package name. No recipe recorded; the README has the configuration.
History
v2.30.27
v2.30.24
v2.29.27
v2.29.25
v2.29.23
v2.28.22
v2.28.21
v2.28.20
v2.28.19
v2.28.17
v2.27.24
v2.27.23
v2.27.19
v2.26.26
v2.26.25
v2.26.18
v2.25.31
v2.25.29
v2.25.22
v2.24.26
v2.24.24
v2.24.21
v2.23.27
v2.23.26
v2.23.24
v2.22.32
v2.22.29
v2.22.27
v2.21.31
v2.21.28
v2.21.26
v2.20.23
v2.20.22
v2.20.20
v2.20.15
v2.19.21
v2.19.20
v2.19.18
v2.18.27
v2.18.24
v2.18.22
v2.17.22
v2.17.21
v2.17.14
v2.16.26
v2.16.21
v2.15.22
v2.15.19
v2.15.17
v2.14.24
v2.14.23
v2.14.22
v2.14.18
v2.13.22
v2.13.21
v2.13.13
v2.12.25
v2.12.22
v2.12.20
v2.12.13
v2.11.20
v2.11.14
v2.10.20
v2.10.15
v2.10.13
v2.10.9
v2.9.28
v2.9.23
v2.9.19
v2.8.22
v2.8.20
v2.8.16
v2.7.26
v2.7.23
v2.7.21
v2.7.16
v2.6.64
v2.6.61
v2.6.58
v2.6.54
v2.5.111
v2.5.109
v2.5.105
v2.5.104
v2.5.101
v2.5.86
v2.4.202
v2.4.196
v2.4.167
v2.4.162
v2.4.155
v2.4.151
v2.4.144
v2.4.142
v2.4.139
v2.4.126
v2.3.144
v2.3.134
v2.3.130
v2.3.123
v2.3.119
v2.3.112
v2.3.106
v2.3.21
v2.4.194
v2.4.191
v2.4.182
v2.4.177
v2.4.171
Others providing
Compare all 8 on the Database connectors page →- SAP ASE ServiceSAP ASE ServiceSAP ASE database systems and tenant databases on BTP with SAP running the platform operations, used from Java applications on BTP or on premise over SQL, JPA and JDBC.sap official, btpManaged SAP ASE databases on BTP for Java applications
- SAP HANA CloudSAP HANA CloudThe managed database under most of this: CAP's default target, the store Datasphere and Analytics Cloud sit on, and a service with plans and components.sap official, btpManaged SAP HANA database service on BTP
- SAP HANA Service (SAP Regions) for SAP BTPSAP HANA Service (SAP Regions) for SAP BTPManaged SAP HANA 2.0 database systems in fixed sizes from 64 GB to 1 TB, in SAP's own regions, with tenant databases bound to applications on SAP BTP.sap official, btpManaged SAP HANA 2.0 databases in fixed sizes on SAP BTP
- PostgreSQL on SAP BTP, hyperscaler optionPostgreSQL on SAP BTP, hyperscaler optionA managed PostgreSQL from the underlying hyperscaler — AWS, Azure, Google Cloud or Alicloud — consumed through a BTP service binding.sap official, btpManaged PostgreSQL from the hyperscaler via a BTP service binding
- hdbhdbSAP's HANA driver for Node.js, written entirely in JavaScript so installing it pulls in no native client, running SQL against SAP HANA and SAP HANA Cloud with streams and prepared statements.sap official, btpPure JavaScript SAP HANA driver for Node.js
- SAP HANASAP HANASAP’s relational database platform, which stores application data and executes SQL and SQLScript in the database, available on-premise and as the managed service SAP HANA Cloud.sap official, btpSAP's relational database platform, on-premise and in HANA Cloud
- SAP-samples/hana-hdbext-promisfied-exampleSAP-samples/hana-hdbext-promisfied-examplePromise-based wrappers around the SAP HANA client libraries for Node.js, Go and Python, replacing nested callbacks with a single async call.sap official, btpPromise-based wrappers around the SAP HANA client libraries
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-hana-client- JSON
- /artifacts/sap-hana-client.json
- MCP
- Connecting an agent