on 2021 Mar 15 7:20 PM
1. I am trying to bulk insert records using the following query:
DAO.INSERT.into(entity).entries(toInsert)
2. But I end up with the following error:
{"code":400,"message":"ENTITY_ALREADY_EXISTS","numericSeverity":4}
even though there are no duplicates in the table
Request clarification before answering.
Hi Mujeeb,
thanks for providing context.
You most probably are using some 'unique' constraint in your DDL (e.g., `@assert.unique` in CDL) and there is an error connected with this – so some data affected by the constraint seems to be present already.
Unfortunately there is a known issue as to the original error message getting lost.
Hope these hints help you.
Regards,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.