{"ref":"artifact:cap-java-cds-feature-postgresql","page":"/artifacts/cap-java-cds-feature-postgresql","json":"/artifacts/cap-java-cds-feature-postgresql.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-java-cds-feature-postgresql","name":"com.sap.cds:cds-feature-postgresql","artifact_type":"package","ecosystem":"cap","domain":"data-and-persistence","origin_ring":"sap-official","description":{"one_line":"The CAP Java feature that wires a Maven application to PostgreSQL as its datasource beside SAP HANA, with limitations capire lists: schema evolution first, and no multitenancy or extensibility yet.","short":"PostgreSQL datasource for CAP Java applications","what_it_solves":"Adds [PostgreSQL](external:postgresql) as a datasource for a CAP Java application built on [com.sap.cds:cds-services-bom](artifact:cap-java-cds-services-bom). Added as a runtime-scoped Maven dependency, it auto-configures the default Persistence Service from a bound PostgreSQL instance and lets `cds deploy --to postgres --dry` generate the schema.sql Spring runs on startup. PostgreSQL is supported in addition to [SAP HANA](artifact:sap-hana); capire lists limitations in comparison, schema evolution first among them, and multitenancy and extensibility are not yet supported on it. On SAP BTP, Cloud Foundry only the community `java_buildpack` can consume a PostgreSQL service from a CAP Java application, and the buildpack's own datasource initialization has to be disabled so CAP Java creates the datasource instead. The Node.js counterpart is [@cap-js/postgres](artifact:cap-js-postgres)."},"links":{"homepage":"https://central.sonatype.com/artifact/com.sap.cds/cds-feature-postgresql","docs":"https://cap.cloud.sap/docs/guides/databases/postgres"},"identity":{"license":"SAP DEVELOPER LICENSE AGREEMENT for CAP"},"source_available":false,"compat":{"runtimes":["java"]},"flavors":[{"key":"java","source":{"url":"https://cap.cloud.sap/docs/java/developing-applications/building#standard-modules","title":"Building Applications — capire","checked":"2026-09-19","quote":"CAP Java comes with a rich set of prepared modules for all different layers of the stack:"}}],"drafted_with_ai":true,"provides":[{"capability":"capability:database-connectors","what_it_does":"Auto-configures the default Persistence Service from a bound [PostgreSQL](external:postgresql) instance so a CAP Java application runs against PostgreSQL instead of [SAP HANA](artifact:sap-hana), with known limitations in schema evolution and no multitenancy or extensibility support yet.","sources":[{"url":"https://cap.cloud.sap/docs/java/developing-applications/building#standard-modules","title":"Building Applications — capire","checked":"2026-09-19","quote":"Makes your application aware of PostgreSQL data sources."},{"url":"https://cap.cloud.sap/docs/java/cqn-services/persistence-services#database-support","title":"Persistence Services — capire","checked":"2026-09-19","quote":"PostgreSQL is supported in addition, but has various limitations in comparison to SAP HANA, most notably in the area of schema evolution."}]}],"requires":["external:postgresql"],"history":[{"date":"2026-09-19","field":"provides.what_it_does","from":null,"to":"Auto-configures the default Persistence Service from a bound PostgreSQL instance so a CAP Java application runs against PostgreSQL instead of SAP HANA, with known limitations in schema evolution and no multitenancy or extensibility support yet.","reason":"New CAP Java provider discovered through official CAP documentation and its Maven POM. Facts describe capire's stated behaviour, not verified deployment compatibility."}],"provenance":{"discovered_via":[{"source":"source:curator"}],"first_seen":"2026-09-19"}},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"unknown","evidence":"no release data"},{"label":"Continuity","tier":"unknown","evidence":"no contributor data"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"fair","evidence":"nothing declared"},{"label":"Survived majors","tier":"unknown","evidence":"no release dates"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"not crawled"},{"label":"Docs","tier":"unknown","evidence":"docs link declared, tree not read"},{"label":"Changelog","tier":"unknown","evidence":"not crawled"}],"reach":[{"value":null,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-24","npm":"not published under this name"},"edges":{"maintainers":[],"contributors":[],"explained_by":[],"alternative_to_this":[],"needed_by":[],"available_via":[{"ref":"artifact:btp-postgresql-hyperscaler","name":"PostgreSQL on SAP BTP, hyperscaler option","json":"/artifacts/btp-postgresql-hyperscaler.json","derived":true,"through":{"ref":"external:postgresql","name":"PostgreSQL","json":"/externals/postgresql.json"},"path":[{"kind":"requires","source":"artifact:cap-java-cds-feature-postgresql","target":"external:postgresql"},{"kind":"delivers","source":"artifact:btp-postgresql-hyperscaler","target":"external:postgresql"}]}],"parts":[],"add_ons":[],"answered_through_parts":[]}}