From bb966d6bf7c95cc48cd6526b50a03a551dde173d Mon Sep 17 00:00:00 2001 From: Vladimir Mikhaylenko Date: Tue, 17 Oct 2023 16:00:01 +0200 Subject: [PATCH] Document the absence of virtual elements in the Result --- java/migration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/migration.md b/java/migration.md index 66dc44129..3ec273a1e 100644 --- a/java/migration.md +++ b/java/migration.md @@ -371,6 +371,10 @@ result.rowCount(2); // 0 matches with ID 0 The default value of CDS Property `cds.security.authentication.normalizeProviderTenant` is changed to `true`. With this change, the provider tenant is normalized and set to `null` in the UserInfo by default. If you have subscribed the provider tenant to your application you need to disable this feature. +#### Vitrual elements + +The values for elements annotated with the annotation `@Core.Computed: true`, notably, virtual elements are no longer retained after CQN statement execution. Previously this was the case only for `Upsert` statement. Their values are no longer available in the `Result` of the CQN statement and are not available in the `@After` handlers. + ### Lean Draft The property `cds.drafts.associationsToInactiveEntities` has been removed. It enabled a feature, which caused associations to other draft documents to combine active and inactive versions of the association target. This mixing of inactive and active data is no longer supported.