{"ref":"artifact:cap-java-cds-adapter-odata-v2","page":"/artifacts/cap-java-cds-adapter-odata-v2","json":"/artifacts/cap-java-cds-adapter-odata-v2.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-java-cds-adapter-odata-v2","name":"com.sap.cds:cds-adapter-odata-v2","artifact_type":"package","ecosystem":"cap","domain":"protocols-and-apis","origin_ring":"sap-official","description":{"one_line":"The OData V2 protocol adapter for CAP Java, which the runtime serves natively once this beta module is on the classpath, so a V2 frontend keeps working without a change to the CDS model.","short":"OData V2 protocol adapter built into the CAP Java runtime","what_it_solves":"Maps inbound OData V2 requests onto CQN events for the CAP Java runtime, so a frontend still built against V2 keeps working without a change to the CDS model behind it. capire calls the support native to CAP Java: on Node.js the same job needs [@cap-js-community/odata-v2-adapter](artifact:cap-js-community-odata-v2-adapter) installed separately, while here the runtime serves V2 itself once this module is on the classpath. Its version comes from [com.sap.cds:cds-services-bom](artifact:cap-java-cds-services-bom); added to srv/pom.xml with runtime scope, it also needs a matching .cdsrc.json change (odata.version: v2) so the CDS compiler emits V2 EDMX, and by default it serves each Application Service under /odata/v2/<Service>. OData V4 stays the default protocol, capire marks this adapter Beta, and a service can run both at once through the @protocols annotation."},"links":{"homepage":"https://central.sonatype.com/artifact/com.sap.cds/cds-adapter-odata-v2","docs":"https://cap.cloud.sap/docs/java/migration#v2adapter"},"identity":{"license":"SAP DEVELOPER LICENSE AGREEMENT for CAP"},"source_available":false,"compat":{"runtimes":["java"]},"flavors":[{"key":"java","source":{"url":"https://repo1.maven.org/maven2/com/sap/cds/cds-adapter-odata-v2/5.1.1/cds-adapter-odata-v2-5.1.1.pom","title":"com.sap.cds:cds-adapter-odata-v2 — Maven POM","checked":"2026-09-19","quote":"OData V2 adapter for CDS Services Java"}}],"drafted_with_ai":true,"provides":[{"capability":"capability:odata","what_it_does":"Serves the OData V2 protocol natively inside the CAP Java runtime, mapping inbound V2 requests onto CQN events so an existing V2 frontend keeps working against the same model.","sources":[{"url":"https://cap.cloud.sap/docs/java/developing-applications/building#standard-modules","title":"Building Applications — Java, capire","checked":"2026-09-19","quote":"Auto-exposes Application Services as OData V2 endpoints."},{"url":"https://repo1.maven.org/maven2/com/sap/cds/cds-adapter-odata-v2/5.1.1/cds-adapter-odata-v2-5.1.1.pom","title":"com.sap.cds:cds-adapter-odata-v2 — Maven POM","checked":"2026-09-19","quote":"OData V2 adapter for CDS Services Java"},{"url":"https://cap.cloud.sap/docs/java/migration","title":"Migration — Java, capire","checked":"2026-09-19","quote":"By default, the CAP Java Runtime comes with protocol adapters for OData V4 and OData V2 (Beta)."},{"url":"https://cap.cloud.sap/docs/java/migration#v2adapter","title":"Migration — Java, capire, CDS OData V2 Adapter","checked":"2026-09-19","quote":"After rerunning the Maven build and starting the CAP Java application, Application Services are served as OData V2."}]}],"history":[{"date":"2026-09-19","field":"provides.what_it_does","from":null,"to":"Serves the OData V2 protocol natively inside the CAP Java runtime, mapping inbound V2 requests onto CQN events so an existing V2 frontend keeps working against the same model.","reason":"New CAP Java protocol adapter discovered through capire and its Maven Central POM. Facts describe the pinned capire commit 8b8b5810 and the 5.1.1 release; 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":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}