From 9386a7a80b54ac9746632eb6bdb36450c200b19c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20G=C3=B6rler?= Date: Tue, 14 Nov 2023 17:11:25 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Matthias Schur <107557548+MattSchur@users.noreply.github.com> --- java/persistence-services.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/java/persistence-services.md b/java/persistence-services.md index 91b367680..9e1be21b5 100644 --- a/java/persistence-services.md +++ b/java/persistence-services.md @@ -129,13 +129,11 @@ Service bindings of type *service-manager* and, in a Spring-based application, * #### SQL Optimization Mode -By default, CAP Java generates SQL in `legacy` _optimization mode_, which is compatible with SAP HANA Cloud Edition as well as with HANA 2.x (HANA as a Service). If your deployment target is SAP HANA Cloud Edition you can also specifiy the optimization mode `hex`. In `hex` mode, CAP generates SQL that will _only_ run on the [HEX engine](https://help.sap.com/docs/SAP_HANA_PLATFORM/9de0171a6027400bb3b9bee385222eff/3861d0908ef14e8bbec1d76ea871ac0f.html#sap-hana-execution-engine-(hex)) of SAP HANA Cloud Edition: +By default, the SAP HANA adapter in CAP Java generates SQL that is compatible with SAP HANA 2.x ([HANA Service](https://help.sap.com/docs/HANA_SERVICE_CF/6a504812672d48ba865f4f4b268a881e/08c6e596b53843ad97ae68c2d2c237bc.html)) and [SAP HANA Cloud](https://www.sap.com/products/technology-platform/hana.html). +To generate SQL that is optimized for the new [HEX engine](https://help.sap.com/docs/SAP_HANA_PLATFORM/9de0171a6027400bb3b9bee385222eff/3861d0908ef14e8bbec1d76ea871ac0f.html#sap-hana-execution-engine-(hex)) in SAP HANA Cloud, set the [CDS property](../development/properties#cds-properties): ```yaml -cds: - sql: - hana: - optimizationMode: hex +cds.sql.hana.optimizationMode: hex ``` :::tip