Skip to content

Commit 13f0559

Browse files
PDT42renejeglinsky
andauthored
Added warning about Known Limitation: Hanging INSERT, Draft, LargeBinary, HDB (#2304)
Added a warning about: Hanging INSERTs of Drafts with LargeBinary fields when using HDB. This is internally tracked in cds node item 2547. I am uncertain whether this is the right spot to put this: I think it should go into the node section, since it only concerns node. The topic seems to be too niche for the general troubleshooting section. Personally, I would associate the symptom with "Draft" rather than "cds.Services > Class cds.DatabaseService" - and AFAIK `INSERT`s should only take place during handling of the `NEW` event. --------- Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
1 parent 8e5ab2c commit 13f0559

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

node.js/fiori.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ The `NEW` event is triggered when the user created a new draft.
6767
As a result `MyEntity.drafts` is created in the database.
6868
You can modify the initial draft data in a `before` handler.
6969

70+
:::warning Known Limitation
71+
With the [`hdb` SAP HANA driver](https://www.npmjs.com/package/hdb), trying to `INSERT` draft entities with fields that use the [`LargeBinary` type](../cds/types#core-built-in-types) will cause a deadlock.
72+
The known workaround is to [configure your CAP app](../guides/databases/hana#setup-configuration) to use the [`hana-client` SAP HANA driver](https://www.npmjs.com/package/@sap/hana-client) instead.
73+
:::
7074

7175
### `EDIT`
7276

0 commit comments

Comments
 (0)