How to define Locking in SAP RAP | Managed Pessimistic Concurrency control | Lock Master

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2023
  • Pessimistic Concurrency control is one of the concurrency control to avoid multiple users accessing the same record simultaneously.
    In this video I have explained about how to define the Locking in managed way. As it is managed, no behavior implementation is required. Additionally have discussed how to test the locking mechanism.
    Optimistic Concurrency control - • How to Define Etag in ...
    SAP RAP playlist - • Managed Restful ABAP P...

ความคิดเห็น • 2

  • @beep_69
    @beep_69 4 หลายเดือนก่อน

    Hi what is the difference between etag and lock? both seems to behave similarly

    • @muthu_cloud
      @muthu_cloud  4 หลายเดือนก่อน

      Hi, Yes the goal of both is to avoid accessing one record by multiple users. The lock is handled by the ABAP session whereas etag belongs to Odata level. Locking can be done for a short amount of time but etags life cycle is quite longer
      Hope this helps