Quantcast
Channel: SCN : Unanswered Discussions - SAP Gateway
Viewing all articles
Browse latest Browse all 1745

Pessimistic Locking mechanism in SAP Gateway.

$
0
0

Hi All,

           I am new to SAP Gateway. I know there are two types of locking mechanism ( optimistic and pessimistic) . Optimistic we do by etag and if-match.

 

Is there any idea of how to do by pessimistic approach.

 

For example we are reading a contract and then updating it. So, in get_entity we have to put the lock while reading and we have to unlock while updating. But how does it works. Whether the lock automatically get released after the get_entity method.

 

Kindly guide me in proceeding further.


Viewing all articles
Browse latest Browse all 1745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>