Skip to Content

@cds.persistence.skip information

Hello,

I see that the blog Deep dive 12 is using @cds.persistence.skip.

Deep dive 12

After googling, there seems no information about this syntax or anything relevant to it.

Except this link Annotations. But it doesn't mention anything about this syntax either.

Where can I find more relevant information?

Thanks

Tri

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 12, 2018 at 08:24 AM

    Hello Tri,

    this annotation instructs the application programming model runtime to not apply automatic persistence handling to the annotated entity. Instead, the expectation is that you provide an explicit handler for the entity and the application programming model handles calling this handler appropriately.

    This help page contains a bit more details: https://cap.cloud.sap/docs/cds/annotations#persistence

    Best regards,

    Henning

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.