Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion java/working-with-cql/query-execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,10 @@ long deleteCount = service.run(Delete.from("bookshop.Orders").byId(1000)).rowCou
```

::: tip
To disable cascade delete for a specific Delete statement, add a `cascade.delete` hint(#hana-hints) with value `false`.
To disable cascade delete for a specific Delete statement, add a hint(#hana-hints):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#hana-hints

this is a DB-independent hint. The section targeted by the link is named "Query Hints". Hence I think this is OK. However, I think the section "Query Hints" could also mention query-independent hints:

Quer Hints

Runtime Hints

DB-specific Hints


I also think we should introduce "hana." as a synonymn for the "hdb." prefix. Would be more natural.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the hint section should not be specific to HANA: #1942

```Java
Delete.from("bookshop.Orders").byId(1000).hint("cascade.delete", false);
```
:::

## Views and Projections { #views }
Expand Down