You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -10,7 +10,7 @@ Along with additional SAP-specific pages the content is published to https://cap
10
10
11
11
## Support, Feedback, Contributing
12
12
13
-
This project is open to feature requests/suggestions, bug reports, etc. via [GitHub issues](https://github.com/cap-js/docs/issues) and [pull requests](https://github.com/cap-js/docs/pulls). Contribution and feedback are encouraged and always welcome.
13
+
This project is open to feature requests/suggestions, bug reports, etc. via [GitHub issues](https://github.com/capire/docs/issues) and [pull requests](https://github.com/capire/docs/pulls). Contribution and feedback are encouraged and always welcome.
14
14
15
15
See our [contribution guidelines](CONTRIBUTING.md) for information about how to contribute, the project structure, as well as additional contribution information.
16
16
@@ -19,7 +19,7 @@ See our [contribution guidelines](CONTRIBUTING.md) for information about how to
19
19
If you contribute often to the documentation it's best to create your own fork, clone it to your local machine.
20
20
21
21
```sh
22
-
git clone https://github.com/cap-js/docs # or whatever your fork's URL is
22
+
git clone https://github.com/capire/docs # or whatever your fork's URL is
23
23
```
24
24
25
25
Install the dependencies:
@@ -53,4 +53,4 @@ We as members, contributors, and leaders pledge to make participation in our com
53
53
54
54
## Licensing
55
55
56
-
Copyright 2023-2025 SAP SE or an SAP affiliate company and CAP contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/cap-js/docs).
56
+
Copyright 2023-2025 SAP SE or an SAP affiliate company and CAP contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/SAP/capire/docs).
Copy file name to clipboardExpand all lines: java/working-with-cql/query-execution.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,6 +282,10 @@ UPDATE entity OrderView2
282
282
-[Deep write](./query-execution#deep-insert-upsert) via (aliased) compositions (*lineItems*) is supported if there are corresponding compositions (*items*) in the underlying entity definition. Deep write via compositions that are only defined in the view (for example via [mixins](../../cds/cql#association-definitions)) is not supported and the data is ignored.
283
283
-[Path expressions](../../cds/cql#path-expressions) over compositions *of one* (*header.status*) are writable. For [inserts](./query-api#insert), the view must expose all *not null* elements of the target entity and the data must include values for all of them. In the example above, the order header must have a generated key to support inserting new orders with a value for *headerStatus*.
284
284
285
+
::: warning Handling Compositions and Aliased Paths in Projections
286
+
For projections that include *to-one* compositions (*header*) and aliased paths over these compositions (*headerStatus*), write structured data using the composition and make the aliased path [@readonly](../../guides/providing-services#readonly). Do not use data for the aliased path along with structured data for the composition in the same statement.
287
+
:::
288
+
285
289
::: warning Path Expressions over Associations
286
290
Path expressions navigating *associations* (*header.customer.name*) are [not writable](#cascading-over-associations) by default. To avoid issues on write, annotate them with [@readonly](../../guides/providing-services#readonly).
0 commit comments