From 74d9c83aaf80c8316deac0da5ab03d759f2e31d8 Mon Sep 17 00:00:00 2001 From: Eckart Liemke Date: Wed, 8 Jul 2026 15:10:30 +0200 Subject: [PATCH 1/2] tms v2 docu improvements: common tenant + clusterSize details --- guides/multitenancy/index.md | 21 +++++++++++++++------ guides/multitenancy/mtxs.md | 5 +++++ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/guides/multitenancy/index.md b/guides/multitenancy/index.md index 173d8eed7..c490176ba 100644 --- a/guides/multitenancy/index.md +++ b/guides/multitenancy/index.md @@ -894,7 +894,7 @@ To help ensure that the generated SAP HANA tenant UUID is unique within a region like `prefix-${org}-${space}` in Cloud Foundry. :::warning Prefix is mandatory -The cds/requires/cds.xt.DeploymentService/hdi/create/hana_tenant_prefix configuration is mandatory to ensure that the internal tenant `t0` is created with its own SAP HANA tenant. +The cds/requires/cds.xt.DeploymentService/hdi/create/hana_tenant_prefix configuration is mandatory to ensure that the internal tenant `t0` is created with its own SAP HANA tenant. ::: :::warning Length restriction @@ -913,7 +913,20 @@ For **CAP Java** applications you need to set the same prefix in the cds/requires/cds.xt.SaasProvisioningService/jobs/clusterSize is automatically set to `1`. HANA TMS v2 currently does not + provide a performant way to determine all database IDs, so clustering the upgrade by database does not work properly. +::: + #### HTTP Request Options | Request Header | Example Value | Description | From 543df6591d4d19c1435c80f8b7585bff69b054cd Mon Sep 17 00:00:00 2001 From: Rene Jeglinsky Date: Wed, 8 Jul 2026 16:23:24 +0200 Subject: [PATCH 2/2] edit --- guides/multitenancy/index.md | 78 +++++++++++++++++------------------- 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/guides/multitenancy/index.md b/guides/multitenancy/index.md index c490176ba..09600d962 100644 --- a/guides/multitenancy/index.md +++ b/guides/multitenancy/index.md @@ -913,56 +913,52 @@ For **CAP Java** applications you need to set the same prefix in the ")); } -} -``` -The `hana_tenant_id` must be a valid UUID and must be unique per subscriber tenant. Specifying `hana_tenant_id` overrides the prefix settings mentioned earlier, -except for the internal tenant `t0`. Also ensure that the ID is unique within a region. - -**... in CAP Java** -###### CAP Java -To specify the ID of the SAP HANA tenant in **CAP Java** applications you can register a custom handler for the `before` phase of the `SUBSCRIBE` event that sets the `hana_tenant_id` within the provisioning parameters: - -```java -@Before -public void beforeSubscription(SubscribeEventContext context) { - context.getOptions().put("provisioningParameters", - Collections.singletonMap("hana_tenant_id", "")); -} -``` - -This will affect every new [tenant subscription](../../java/multitenancy.md#subscribe-tenant) and will set the specified SAP HANA tenant ID. - + ``` + + This will affect every new [tenant subscription](../../java/multitenancy.md#subscribe-tenant) and will set the specified SAP HANA tenant ID. +