{"ref":"content:run-and-deploy-cap-java-with-postgresql-using-cap-js-postgres","page":"/content/run-and-deploy-cap-java-with-postgresql-using-cap-js-postgres","json":"/content/run-and-deploy-cap-java-with-postgresql-using-cap-js-postgres.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"run-and-deploy-cap-java-with-postgresql-using-cap-js-postgres","title":"Run and Deploy SAP CAP (Java) with PostgreSQL using Official Database Adapter @cap-js/postgres","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/run-and-deploy-sap-cap-java-with-postgresql-using-official-database-adapter/ba-p/13564753","content_type":"blog","explains":["artifact:cap-js-postgres","artifact:mikezaschka-cds-dbm","artifact:sapmentors-cds-pg",{"ref":"capability:database-connectors","applies_to":{"ecosystems":["cap"]}}],"summary":"The post that records a handover. The author's earlier writing relied on the community projects [cds-pg](artifact:sapmentors-cds-pg) and [cds-dbm](artifact:mikezaschka-cds-dbm); this one states that both were deprecated in favour of the official [PostgreSQL](external:postgresql) support arriving with [@sap/cds](artifact:sap-cds) 7, and rewrites the path around @cap-js/postgres. For CAP Java it takes a different route to the initial schema.sql than the Node.js case, and it is candid that automatic schema deployment is convenient but not always what you want. Dated evidence for why two artifacts here went quiet.","short":"CAP Java with PostgreSQL through the official @cap-js/postgres adapter","author":"shanthakumar_krishnaswamy","published":"2023-08-02","written_against":"@sap/cds 7","sources":[{"url":"https://community.sap.com/t5/technology-blog-posts-by-sap/run-and-deploy-sap-cap-java-with-postgresql-using-official-database-adapter/ba-p/13564753","title":"Run and Deploy SAP CAP (Java) with PostgreSQL using Official Database Adapter @cap-js/postgres — SAP Community","checked":"2026-09-07"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-07"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:database-connectors","reason":"Door scope derived from the artifacts this piece also explains, so a door page lists it only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 38 months ago"}],"compatibility":[{"label":"Version","tier":"poor","evidence":"cds 7, line ended"},{"label":"Moved since?","tier":"poor","evidence":"@cap-js/postgres 2.0, 3.0 since publication"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":4784,"unit":"views"},{"value":0,"unit":"comments"},{"value":5,"unit":"likes"}]},"signals":{"views":4784,"likes":5,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}