-
Notifications
You must be signed in to change notification settings - Fork 132
Java: cascade.delete
hint
#1986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@@ -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): |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
We need to have another look at the concepts before we can merge this PR. |
No description provided.