From 3c588a0cc80c7dae6d74890725a0794b19b398d6 Mon Sep 17 00:00:00 2001
From: Matthias Schur <107557548+MattSchur@users.noreply.github.com>
Date: Mon, 4 May 2026 14:48:47 +0200
Subject: [PATCH 1/3] Vector functions with local MTXS
---
java/working-with-cql/query-api.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/java/working-with-cql/query-api.md b/java/working-with-cql/query-api.md
index 926f2303c..6cc44524c 100644
--- a/java/working-with-cql/query-api.md
+++ b/java/working-with-cql/query-api.md
@@ -1645,6 +1645,9 @@ Scalar functions are values that are calculated from other values. This calculat
Vector functions allow you to compute similarity and distance of [vectors](../cds-data.md#vector-embeddings), as well as [vector embeddings](../../guides/databases/vector-embeddings) of text data directly in the database.
+> [!warning] Local MTXS with SQLite
+> Using vector functions in [stored calculated elements](../../cds/cdl#on-write) with [local MTXS](../../guides/multitenancy/mtxs#test-drive-locally) on SQLite is not supported.
+
##### Computing Vector Embeddings in SAP HANA
CAP Java supports the [VECTOR_EMBEDDING](https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-sql-reference-guide/vector-embedding-function-vector) function via `CQL.vectorEmbedding` to generate vector embeddings from text data directly in SAP HANA.
From 189b8355b369648b5f850216b5e780132e0766dc Mon Sep 17 00:00:00 2001
From: Matthias Schur <107557548+MattSchur@users.noreply.github.com>
Date: Tue, 5 May 2026 09:05:49 +0200
Subject: [PATCH 2/3] Update java/working-with-cql/query-api.md
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: René Jeglinsky
---
java/working-with-cql/query-api.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/working-with-cql/query-api.md b/java/working-with-cql/query-api.md
index 6cc44524c..32e1d4352 100644
--- a/java/working-with-cql/query-api.md
+++ b/java/working-with-cql/query-api.md
@@ -1645,7 +1645,7 @@ Scalar functions are values that are calculated from other values. This calculat
Vector functions allow you to compute similarity and distance of [vectors](../cds-data.md#vector-embeddings), as well as [vector embeddings](../../guides/databases/vector-embeddings) of text data directly in the database.
-> [!warning] Local MTXS with SQLite
+> [!warning] Not supported with local MTXS on SQLite
> Using vector functions in [stored calculated elements](../../cds/cdl#on-write) with [local MTXS](../../guides/multitenancy/mtxs#test-drive-locally) on SQLite is not supported.
##### Computing Vector Embeddings in SAP HANA
From 03377e525ebfafa34d603db077d97bfdfe242044 Mon Sep 17 00:00:00 2001
From: Mahati Shankar <93712176+smahati@users.noreply.github.com>
Date: Thu, 7 May 2026 15:46:02 +0200
Subject: [PATCH 3/3] cosmetics
---
java/working-with-cql/query-api.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/java/working-with-cql/query-api.md b/java/working-with-cql/query-api.md
index 32e1d4352..02261a8d7 100644
--- a/java/working-with-cql/query-api.md
+++ b/java/working-with-cql/query-api.md
@@ -1645,8 +1645,9 @@ Scalar functions are values that are calculated from other values. This calculat
Vector functions allow you to compute similarity and distance of [vectors](../cds-data.md#vector-embeddings), as well as [vector embeddings](../../guides/databases/vector-embeddings) of text data directly in the database.
-> [!warning] Not supported with local MTXS on SQLite
-> Using vector functions in [stored calculated elements](../../cds/cdl#on-write) with [local MTXS](../../guides/multitenancy/mtxs#test-drive-locally) on SQLite is not supported.
+::: warning Not supported with local MTXS on SQLite
+Using vector functions in [stored calculated elements](../../cds/cdl#on-write) with [local MTXS](../../guides/multitenancy/mtxs#test-drive-locally) on SQLite isn't supported.
+:::
##### Computing Vector Embeddings in SAP HANA