on 2025 Feb 19 1:53 PM
Hi,
I am doing the Learning Journey "Developing Full-Stack Applications Using Productivity Tools in SAP Business Application Studio" here i get the problem that my BusinessPartner Service is throwing the following error:
"Entity \"RiskManagementService.A_BusinessPartner\" is annotated with \"@cds.persistence.skip\" and cannot be served generically."
Maybe you can help me with that, already tried to delete this annotation but the error still appears.
Best regards,
Nico
Request clarification before answering.
An entity annotated with `@cds.persistence.skip` or `@cds.persistence.exists` will not result in a database table being created for you. The `@cds.persistence.exists` annotation is mostly for scenarios, where you have an existing persistence which is outside of you CAP model. E.g. native HANA artifacts… Please read our documentation for more on that.
That being said, if you expose an entity with this annotation, you have to implement your own logic to e.g. READ data from this entity, which is not part of your CAP model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.