on 2023 Mar 16 1:28 PM
Hi!
I am currently working through CLD200 tutorial. Everything is working fine, but with consuming external services I got an error. "Entity "RiskService.BusinessPartners" is annotated with "@cds.persistence.skip" and cannot be served generically." Could somebody please help me what does that mean and how I can fix it?
Sourcecode: Adding an External Service (sap.com)
Thank you in advance!
Br
Ronny
The annotation "@cds.persistence.skip" means that during deployment no database artifacts will be created (as with "@cds.persistence.skip") and in addition the CAP runtime will not create a On-handler that would normally take care of executing database statements corresponding to the incoming requests. This is the default for remote calls as there is not local persistence to be called. The linked tutorial provides the code for such an On-handler. Just follow the instructions and you should be fine. 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.