CDS pluginCDS plugintypeInstalls into a CAP project and extends the runtime. CAP loads it through cds.requires or the plugin hook.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

@cap-js/hana

The HANA database service — the production default, on the same streamlined architecture as the SQLite and PostgreSQL services.

Facts

Latestv3.1.2ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
Database connectorsCAPDatabase connectorscapabilityConnecting an application’s data model and queries to a database, including the differences in supported queries, types and schema management between database implementations. Changing an existing schema belongs to [schema evolution](capability:schema-evolution).
Part of
@cap-js/cds-dbs@cap-js/cds-dbsartifactThe monorepo behind CAP's SQL database services — the base service, SQLite, PostgreSQL and HANA all live here, which is why they version together.
Flavors
Requires
@sap/cds^10@sap/cdsartifactThe runtime this is the SAP HANA database service for.
Optional
SAP HANA CloudSAP HANA CloudartifactThe database this is the service for: capire's standard database for production, reached with the credentials cds watch or cds run fetch from the binding at runtime.hdbhdbartifactThe driver the package speaks to the database through by default.@sap/hana-client@sap/hana-clientartifactThe driver the package uses instead of hdb once it is added to the project's dependencies.

Who is behind it

SAP Cloud Application Programming ModelSAP Cloud Application Programming ModelOrganisationMaintains this
In the atlas: maintains 34
@cap-js
maintainerJohannes VogtPersonContributes to this
In the atlas: maintains 1, contributes to 28, wrote 10
@Akatuoro
Arley Triana MorinPersonContributes to this
In the atlas: contributes to 9, wrote 1
@arleytm
Andreas SchmidtPersonContributes to this
In the atlas: contributes to 6
@aschmidt93
Bob den OsPersonContributes to this
In the atlas: contributes to 13
@BobdenOs
Andre MeyeringPersonContributes to this
In the atlas: contributes to 10
@bugwelle
CAP BotPersonContributes to this
In the atlas: contributes to 5
@cap-bots
Christian GeorgiPersonContributes to this
In the atlas: maintains 1, contributes to 53
@chgeo
Christian SchüringsPersonContributes to this
In the atlas: contributes to 25
@cschuerings
Daniel HutzelPersonContributes to this
In the atlas: contributes to 32, wrote 3
@danjoa
Daniel O'GradyPersonContributes to this
In the atlas: contributes to 10
@daogrady
35 contributors

Before choosing this

Conditions

LicenceSAP Developer License Agreement 3.2 CAP§ 1, 2, 3A cds-plugin is used with SAP CAP materials, or an artifact is explicitly identified as a CAP plugin or application.
  • § 1 License. Productive customer applications are limited to SAP BTP or another SAP-licensed platform, and mass extraction to a non-SAP product is restricted except where solely required for SAP interoperability.
  • § 2 Intellectual Property. The agreement retains SAP's rights in the covered materials and limits making APIs, tools or software available to third parties, while preserving ownership of customer applications subject to SAP's underlying rights.
  • § 3 Artificial Intelligence Training. The agreement prohibits use of the covered materials and customer applications for training artificial-intelligence models or systems.
SAP Developer License Agreement 3.2 CAP →

Also, from Database connectors§ 1: The connector itself does not decide the licence boundary. Section 1 makes the destination and purpose of extraction relevant, including the scoped exception for interoperability with an SAP product.

What it declares

Every artifact

Type
CDS plugin
Origin
By SAP

As a CDS plugin

Declared for
^10
Distributed through
npm

Tasks this contributes to1Beta

Answer a question from records in a CAP serviceA question asked in plain words is answered from rows the CAP model already holds: the records nearest to the question in meaning are found and put in front of a language model, so the answer rests on those records rather than on what the model remembers.Coversdatabase service
What it does

The package that puts the CAP Node.js runtime on SAP HANA Cloud: capire's guide adds it to the project for production, and at runtime cds watch or cds run fetch the database's credentials from the binding so the server can connect, through the hdb driver by default. It is the part of this way that talks to the database.

Remaining work

Add the package and deploy the HDI artifacts cds build generates; the guide covers both. Nothing here retrieves for a question or writes a prompt.

All options on the RAG on CDS page →

Connections9

@cap-js/hana connections@cap-js/hanaFUNCTIONAL← alternative to1alternative to derivedcds-mysql→ provides1provides authoredDatabase connectorsUSED BY← needed by1needed by derived The database service that serves `db: hana` for the Node.js runtime; the project depends on it directly. Through: inverted from its requires edge miyasuta/cap-embedding-function — package.json, dependencies: https://raw.githubusercontent.com/miyasuta/cap-embedding-function/main/package.jsoncap-embedding-functionNEEDS→ connects to1connects to stated If: @sap/hana-client is not added to the project's dependencies; added, it takes precedence over hdb. The application's reads and writes, through the hdb driver by default, with the credentials `cds watch`/`run` fetch from the binding at runtime. Using SAP HANA Cloud for Production — capire, other drivers: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.md Using SAP HANA Cloud for Production — capire, cds deploy: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.md Using SAP HANA Cloud for Production — capire, other drivers: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.mdSAP HANA Cloudif→ needs1needs stated The runtime this is the SAP HANA database service for. @cap-js/hana — README: https://raw.githubusercontent.com/cap-js/cds-dbs/main/hana/README.md@sap/cds→ optionally needs3optionally needs stated If: @sap/hana-client is added to the project's dependencies, which then takes precedence over the default driver. The driver the package uses instead of hdb once it is added to the project's dependencies. Using SAP HANA Cloud for Production — capire, other drivers: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.md@sap/hana-clientifoptionally needs stated If: @sap/hana-client is not added to the project's dependencies; added, it takes precedence over this default. The driver the package speaks to the database through by default. Using SAP HANA Cloud for Production — capire, other drivers: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.md Using SAP HANA Cloud for Production — capire, other drivers: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.mdhdbifoptionally needs stated If: A HANA binding is available to the profile the server runs with, which `cds add hana --for hybrid` configures; in development SQLite is the default. The database this is the service for: capire's standard database for production, reached with the credentials `cds watch` or `cds run` fetch from the binding at runtime. Using SAP HANA Cloud for Production — capire, Prepare for Production: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.md Using SAP HANA Cloud for Production — capire, cds deploy: https://raw.githubusercontent.com/cap-js/docs/main/guides/databases/hana.md Databases — capire, overview (the 2 is the page's footnote mark): https://cap.cloud.sap/docs/guides/databasesSAP HANA CloudifLINEAGE→ part of1part of stated cap-js/cds-dbs — README: https://github.com/cap-js/cds-dbs cap-js/cds-dbs — README: https://github.com/cap-js/cds-dbs@cap-js/cds-dbs

Install

npm add @cap-js/hana

Derived from the package name. No recipe recorded; the README has the configuration.

Learn more1

Readings
  1. CAP in the age of AI #7 - vector embeddings wrap-upDJ Adams, Johannes Vogt, YouTube — SAP Developers playlists
What changed
  1. v3.0.0

    Requires @sap/cds 10 and @cap-js/db-service 3.

    Makes stale:

    Setups pairing @cap-js/hana 3.x with @sap/cds 9.

1 earlier
  1. v2.0.0

    Requires @sap/cds 9 and @cap-js/db-service 2; database constraint errors are passed on unfiltered.

    Makes stale:

    Setups pairing @cap-js/hana 2.x with @sap/cds 8 or older.

Where it sits in your app

Download
Your CAP applicationYour SAP BTP subaccountUsing SAP HANA Cloud for Production — capire, other drivers, checked 2026-09-23: “Package `@cap-js/hana` uses the [`hdb`](https://www.npmjs.com/package/hdb) driver by default.”via hdbif @sap/hana-client is notadded to the project'sdependencies; added, it takes pr…documentedmay needif @sap/hana-client is notadded to the project'sdependencies; added, it takes pr…documentedmay needif @sap/hana-client is addedto the project's dependencies,which then takes precedence over…@cap-js/hana, module@cap-js/hanahdb, modulehdb@sap/hana-client, module@sap/hana-clientSAP HANA Cloud, service instanceSAP HANA Cloud
SAPnot SAP's, or the project's ownstated in the documentunder a condition

README

quoted from cap-js/cds-dbs under Apache-2.0, read
cap-js/cds-dbs/hana/README.mdOn GitHub

CDS database service for SAP HANA

Welcome to the SAP HANA database service for SAP Cloud Application Programming Model Node.js, based on streamlined database architecture.

Setup

All you need to do is to install the database package, as follows:

npm add @cap-js/hana

Learn more about setup and usage in the respective database guide.

Support

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues.

Contribution

Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2024 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

Apache-2.0, read

History

Latest

v3.1.2

Fixes 1, Dependencies 1

Notes
Fixed
  • hana: restore statement release when statement cache is disabled (#1761) (178aa81)
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • @cap-js/db-service bumped from ^3.1.1 to ^3.1.2
  1. v3.1.1

    Fixes 1, Performance 2, Dependencies 1

    Notes
    Fixed
    Performance Improvements
    • do not use ranked search for static values (#1727) (33fb36b)
    • if explicit order by is specified, do not add ranked search as a secondary clause(33fb36b)
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^3.1.0 to ^3.1.1
  2. v3.1.0

    Features 2, Fixes 3, Dependencies 1

    Notes
    Added
    Fixed
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^3.0.1 to ^3.1.0
  3. v3.0.2

    Fixes 1

    Notes
    Fixed
  4. v3.0.1

    Fixes 3, Dependencies 1

    Notes
    Fixed
    • consolidated flags to cds.features.use_generic_pool (#1653) (1dc0e61)
    • hana: align builtin-pool condition with db-service default (#1645) (dd11c58)
    • transient retries before invalidating credentials in built-in connection pool (#1646) (9833ecf)
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^3.0.0 to ^3.0.1
  5. v3.0.0dated in the atlas

    Breaking 1, Features 1, Dependencies 1

    Notes
    ⚠ BREAKING CHANGES
    Added
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.11.0 to ^3.0.0
  6. v2.8.0

    Features 1, Dependencies 1

    Notes
    Added
    • supersede potentially compromised release (#1590) (3be4044)
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.10.1 to ^2.11.0
  7. v2.7.2

    Fixes 1, Dependencies 1

    Notes
    Fixed
    • supersede potentially compromised release (#1589) (bd73895)
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.10.0 to ^2.10.1
  8. v2.7.1

    Fixes 1, Dependencies 1

    Notes
    Fixed
    • select forUpdate ignoreLocked; entity \w composite-key HANA error (#1572) (49df942)
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.9.0 to ^2.10.0
  9. v2.7.0

    Features 1, Fixes 2, Dependencies 1

    Notes
    Added
    Fixed
    • avoid rollback race condition during .disconnect (#1502) (4fa5758)
    • hana groupby with path expressions (#1493) (920acde)
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.8.2 to ^2.9.0
  10. v2.6.0

    Features 1, Fixes 6, Dependencies 1

    Notes
    Added
    • enable group by aggregation for expand queries (#1482) (55942da)
    Fixed
    • Add missing functions that require no brackets (#1485) (cfd1c3e)
    • association identifiers exceed limit (#1480) (ffe80dd)
    • compare conversion for right hand null transformation (#1469) (ec1d0c6)
    • expand through sub select (#1488) (9cb5497)
    • prevent Service Manager DoS on pool connection failures (#1474) (02eaf29)
    • search annotations were not applied if only single element was searched (#1490) (a1f2123)
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.8.1 to ^2.8.2
  11. v2.5.1

    Dependencies 1

    Notes
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.8.0 to ^2.8.1
  12. v2.5.0

    Features 1, Fixes 1, Dependencies 1

    Notes
    Added
    Fixed
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.7.0 to ^2.8.0
  13. v2.4.1

    Fixes 1

    Notes
    Fixed
    • introduce repository.url in package.json (#1430) (00ad7fb)
  14. v2.4.0

    Features 2, Fixes 1, Dependencies 1

    Notes
    Added
    Fixed
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.6.0 to ^2.7.0
  15. v2.3.4

    Dependencies 1

    Notes
    Dependencies
    • The following workspace dependencies were updated
      • dependencies
        • @cap-js/db-service bumped from ^2.5.1 to ^2.6.0
  16. v2.3.3

    Fixes 1

    Notes
    Fixed
  17. v2.3.2

    Fixes 1

    Notes
    Fixed
  18. v2.3.1

    Fixes 1

    Notes
    Fixed
  19. v2.3.0

    Features 4, Fixes 1

    Notes
    Added
    • add support for SAP HANA Tenant Management Service v2 (#1356) (b4bd9f2)
    • make hana server version accessible to sub classes (#1263) (a3ccc3e)
    • sets default to hana cloud if server version cannot be detected (a3ccc3e)
    • sort selected columns & expands before formatting sql (#1330) (d81b0bf)
    Fixed
    • updated fuzzy search syntax to include now require search mode 'text' (#1333) (1946665)
  20. v2.2.0

    Features 2, Fixes 1

    Notes
    Added
    Fixed
    • column name collisions for $apply=groupby(ID,author/ID) (#1289) (69597ba)
  21. v2.1.2

    Fixes 1

    Notes
    Fixed
  22. v2.1.1

    Fixes 2

    Notes
    Fixed
    • Better opt in flag for builtin generic pool (#1234) (98282ff)
    • do not set session var TEMPORAL_SYSTEM_TIME_AS_OF by default (#1233) (f13410d)
  23. v2.1.0

    Features 1, Fixes 1

    Notes
    Added
    Fixed
    • hana skip hextobin conversion for "select x from ..." input (#1215) (e6d3d1b)
  24. v2.0.1

    Features 1

    Notes
    Added
    • set NOW as session var in addition to $now (#1201) (33d4814)
  25. v2.0.0dated in the atlas

    Breaking 3, Changed 3, Fixes 1

    Notes
    ⚠ BREAKING CHANGES
    • update peer dependency to @sap/cds@9 (#1178)
    • update dependency to @cap-js/db-service@2 (#1178)
    • Unfiltered db constraint errors (#1165)
    Fixed
    Changed
  26. v1.9.0

    Features 2, Fixes 1

    Notes
    Added
    Fixed
    • Improved support for special characters in column names (#1141) (ba04697)
  27. v1.8.1

    Fixes 1

    Notes
    Fixed
  28. v1.8.0

    Features 4, Fixes 2

    Notes
    Added
    Fixed
  29. v1.7.0

    Features 2, Fixes 2

    Notes
    Added
    Fixed
  30. v1.6.1

    Fixes 1

    Notes
    Fixed
  31. v1.6.0

    Features 2, Fixes 4

    Notes
    Added
    Fixed
  32. v1.5.2

    Fixes 1

    Notes
    Fixed
    • Force sql_simple_queries to quote in outer select (#954) (2071dc8)
  33. v1.5.1

    Fixes 5, Performance 1

    Notes
    Fixed
    Performance Improvements
    • Remove $$RN$$ and additional sub selects (#929) (b3743a1)
  34. v1.5.0

    Features 2, Fixes 1

    Notes
    Added
    Fixed
    • current_date, current_time, current_timestamp and current_utctimestamp are SAP HANA functions and are callable in upper case (#910) (50ebd10)
  35. v1.4.1

    Fixes 1

    Notes
    Fixed
    • increase min version cap-js/db-service (#876) (e20eef8)
  36. v1.4.0

    Features 1, Fixes 6

    Notes
    Added
    • Improve procedure metadata lookup logic (#862) (da629d9)
    Fixed
    • enable cesu8 by default for hdb driver and encode entries streams (#868) (d85d7e6)
    • Include binary type with varbinary type in hana-client (#871) (f4d7caf)
    • nested functions in comparisons (#861) (f3fd254)
    • properly support default, cds.on.insert and cds.on.update for UPSERT queries (#425) (338e9f5)
    • SELECT cds.hana.BINARY (#870) (33c3ebe)
    • Throw error if rows in limit is missing for expand, same as in limit() (#858) (641c3b9)
  37. v1.3.2

    Fixes 2

    Notes
    Fixed
    • Adjust Decimal formatter to always render a whole number (#853) (027d717)
    • allocate a new Buffer for each chunk of a Blob stream when using hana-client (#846) (ec75b50)
  38. v1.3.1

    Fixes 4

    Notes
    Fixed
    • combination of groupby and orderby (#825) (10e0534)
    • Improved behavioral consistency between the database services (#837) (b6f7187)
    • list optimization for Buffer values (#817) (3e60de2)
    • null as default value (#845) (0041ec0)
  39. v1.3.0

    Features 1

    Notes
    Added
  40. v1.2.0

    Features 1, Changed 1, Fixes 5

    Notes
    Added
    • wrap client if @dynatrace/oneagent-sdk is present (#777) (147b88e)
    Fixed
    • Add {list:[{val}]} json function support (#784) (ce5f856)
    • Allow applications to configure acquireTimeoutMillis (#796) (abac818)
    • deep groupby expand queries (#768) (5423cf3)
    • Enforce LargeStrings to be Strings for sql_simple_queries=1 (#774) (c38a9e6)
    • wrong falsy checks for vals in list optimization (#797) (e818da8)
    Changed
  41. v1.1.1

    Fixes 2

    Notes
    Fixed
  42. v1.1.0

    Features 1, Fixes 1

    Notes
    Added
    • Enable native HANA fuzzy search for search function queries (#707) (0b9108c)
    Fixed
    • mtx: sidecar scenario due to usage of wrong credentials (#732) (0b5c91f)
  43. v1.0.1

    Fixes 2

    Notes
    Fixed
  44. v1.0.0

    Fixes 5

    Notes
    Fixed
    • Binary columns now return as Buffer for HANAService (#689) (179bd92)
    • Improve error message for disconnected connections (#678) (eb4ef37)
    • insertion of arrayed elements (#677) (92cf307)
    • insertion of large decimals (#686) (ae8abff)
    • Support static conditions inside unmanaged associations (#682) (e17ddfd)
  45. v0.5.0

    Features 1

    Notes
    Added
  46. v0.4.0

    Features 1, Changed 1, Fixes 2

    Notes
    Added
    Fixed
    • Improve comparator check for combined and nested expressions (#632) (8e1cb4b)
    • Support multi byte characters (#639) (4cfa77f)
    Changed
    • @sap/hana-client optional peer dependency (#631) (89d7149)
  47. v0.3.0

    Features 1, Fixes 12

    Notes
    Added
    • select decimals as strings if cds.env.features.string_decimals (#616) (39addbf)
    Fixed
  48. v0.2.0

    Features 2

    Notes
    Added
  49. v0.1.0

    Features 3, Changed 1, Fixes 7

    Notes
    Added
    • also support lowercase matchespattern function (#528) (6ea574e)
    • forUpdate and forShareLock (#148) (99a1170)
    • hana: drop prepared statements after end of transaction (#537) (b1f864e)
    Fixed
    Changed
    • this package now requires @cap-js/db-service >= v1.7.0 (#545) (2cec27d)
  50. v0.0.6

    Features 1, Fixes 2

    Notes
    Added
    • cds.Vector support for the HANAService (#442) (1057a13)
    Fixed
    • TypeError for cds bind in MTX scenario (#482) (38722fe)
    • Allow SELECT.join queries again with full infer call (#469) (5329ec0)
  51. v0.0.5

    Fixes 5

    Notes
    Fixed
    • sqlite: Retain Error object for unique constraint violation (#446) (d27ee79)
    • hana: ensure the database connection does not enable auto commit (#448) (b2ca1da)
    • hana: Ensure xpr with logical operator to only contain comparisons (#452) (a2ecb22)
    • ignore virtual keys in UPSERT(#463) (49adbf3)
    • select without columns from unknown entity (#466) (eb857de)
  52. v0.0.4

    Features 4, Fixes 6

    Notes
    Added
    • Add fallback for @cap-js/hana for unknown entities (#403) (e7dd6de)
    • SELECT returns binaries as Buffers (#416) (d4240d5)
    • SELECT returns LargeBinaries as streams unless feature flag "stream_compat" is set (#251) (8165a4a)
    • Support Readable Streams inside INSERT.entries (#343) (f6faf89)
    Fixed
    • Ensure globally unique aliases with large expand queries (#396) (c1df747)
    • enumeration issue with session context in @cap-js/hana (#399) (8106a20)
    • ignore empty order by (#392) (a69fed0)
    • improve != and == implementation for @cap-js/hana (#426) (9b7b5a0)
    • show clear error message when unable to load project package.json (#419) (2ebf783)
    • UPSERT for @cap-js/hana for entities with multiple keys (#418) (9bbac6e)
  53. v0.0.3

    Features 1, Fixes 1, Performance 1

    Notes
    Added
    • Compress HANA expand queries by reducing duplicated statements (#383) (3d29351)
    Fixed
    • cqn2sql: supporting calculated elements (#387) (2153fb9)
    Performance Improvements
  54. v0.0.2

    Fixes 1

    Notes
    Fixed
  55. v0.0.1

    Other 1

    Notes
    • Initial alpha release
42,290downloads per week, npm
Weekly downloads for @cap-js/hana26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 42290.20 Apr – 26 Apr: 69,98227 Apr – 3 May: 67,5134 May – 10 May: 74,06611 May – 17 May: 71,81718 May – 24 May: 76,36025 May – 31 May: 70,8731 Jun – 7 Jun: 72,3498 Jun – 14 Jun: 75,21415 Jun – 21 Jun: 76,64122 Jun – 28 Jun: 60,56529 Jun – 5 Jul: 70,7856 Jul – 12 Jul: 73,55713 Jul – 19 Jul: 75,43720 Jul – 26 Jul: 79,46727 Jul – 2 Aug: 77,5503 Aug – 9 Aug: 77,14510 Aug – 16 Aug: 69,48817 Aug – 23 Aug: 75,55524 Aug – 30 Aug: 76,55831 Aug – 6 Sept: 62,7877 Sept – 13 Sept: 56,60314 Sept – 20 Sept: 67,69921 Sept – 27 Sept: 77,92628 Sept – 4 Oct: 82,1925 Oct – 11 Oct: 69,86912 Oct – 18 Oct: 42,290
Declared alternative
  1. cds-mysqlMySQL and MariaDB database adapter for CAP
Database connectors
  1. SAP HANA CloudManaged SAP HANA database service on BTP
  2. PostgreSQL on SAP BTP, hyperscaler optionManaged PostgreSQL from the hyperscaler via a BTP service binding
  3. com.sap.cds:cds-feature-hanaSAP HANA Cloud datasource for CAP Java applications
  4. com.sap.cds:cds-feature-jdbcJDBC runtime for H2 and SQLite in CAP Java
  5. com.sap.cds:cds-feature-postgresqlPostgreSQL datasource for CAP Java applications
  6. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versions
  7. @cap-js/db-serviceBase service shared by CAP's SQLite, PostgreSQL and HANA services
  8. @cap-js/postgresPostgreSQL database service for CAP
  9. @cap-js/sqliteSQLite database service for CAP, in memory during development
  10. cap-postgres-btp-connectivityTunnels CAP Node.js to a private PostgreSQL via Cloud Connector
  11. cds-mongodbMongoDB as a CAP database service through Mongoose
  12. @cds-pgroll/postgresCLI for DROP and RENAME schema changes beside @cap-js/postgres
  13. @neoimpulse/cap-js-restore-model-defined-typesCAP plugin casting read values back to CDS model types
  14. @quadrio/cds-db2DB2 adapter for CDS
  15. @sap/cds-hanaDatabase adapter for SAP HANA in CAP
  16. @sap/cdsCAP Node.js runtime
  17. @sap/hana-clientSAP's Node.js driver for SAP HANA
  18. SAP HANASAP's relational database platform, on-premise and in HANA Cloud
  19. cds-pgPostgreSQL adapter for SAP CDS from the SAP Mentors community
  20. cap-snowflakeCAP database adapter for Snowflake with OData V4 support
  21. cds-mysqlMySQL and MariaDB database adapter for CAP

Details

Sources5
npm registrydiscovered herechecked
The discovery passdiscovered herechecked
npm registry, @cap-js/hanaversion, releases, installschecked
github.com/git+https://github.com/cap-js/cds-dbs.gittree, pushes, contributors, CIchecked
hana/README.mdquoted, and what the entry declareschecked

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
declared for^10
latestv3.1.2
first release
releases and cadence58, ~26d median
discovered vianpm registry, The discovery pass
first seen in the atlas
ecosystem and domaincap, data-and-persistence
Flavors1
Node.js
“Welcome to the SAP HANA database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on streamlined database architecture.” — cap-js/cds-dbs — hana READMEchecked
Contributors35
History in the atlas8
  1. The database service had no edge to the database it serves, which left the CAP-native way of answer-a-question-from-records-in-a-cap-service without an edge between its parts. From capire's HANA guide, quoted: the standard database for production, added as this package, reached through the hdb driver and a binding.
  2. requires sap-cds, btp-hana-cloud (conditional), hdb (conditional), sap-hana-client (conditional); via hdb
  3. The link named the root of a monorepo, so every crawl read the repository README — 'This is a monorepo for our SQL Database Services' — and filed it as this package's own: data/crawled/readmes/cap-js-hana.md is that root README today. npm's record for @cap-js/hana declares no repository directory, so the subfolder URL is the only place it can come from.
  4. The entry named no registry page, so the only address it offered was a repository it shares with three other packages.
  5. The repository's README states the relation: the four subfolders are parts of one monorepo, each published on its own.
  6. Same sentence, re-read on the package's own README in the repository — the document the subfolder link now resolves to.
  7. The HANA database service — the production default, on the same streamlined architecture as the SQLite and PostgreSQL services.
  8. First seen.
For your agent