Skip to Content
0
Dec 06, 2009 at 02:58 PM

Persistent classes - Locking a table before update

194 Views

Hi guys,

I am thinking about using persistent classes for my CRUD application. However I am unclear about 1 thing... do i have to lock the Db tables before calling the SET_ methods or create_persistent methods ? I went to the SAP reference site Link: [http://help.sap.com/saphelp_nw04/helpdata/en/f5/a3682ebc6911d4b2e80050dadfb92b/content.htm] there they say that they have not implemented the Lock concept yet. Seems like persistent classes are missing a really fundamental thing if they do not lock a Db table before update( or am I misinterpreting something ? ).

So do I explicitly call the ENQUEUE n DEQUEUE FMs to lock the Db table before the SET_ methods? parallel access is possible in my app.