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

0
Add a comment
10|10000 characters needed characters exceeded

Tri Minh Le Jul 24, 2018 at 05:07 AM

0

14k

Actions

1 Answer

Henning Heitkoetter
Nov 12, 2018 at 08:24 AM
0

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