‎2011 Jan 03 9:11 AM
Hi,
while updating database with Persistent Objects? does persistent layer takes care of locking the records??
i am not sure locking mechanism is there!!
Please suggest
‎2011 Jan 03 9:30 AM
From help.sap.com:
If several programs use the Persistence Service to instantiate objects of the same class before one of these programs has changed the state using COMMIT WORK, all the objects will have the same initial state. At present, we have not implemented a Persistence Service lock concept, which would ensure that there was only one transient mapping for each persistent object. So ultimately, ABAP programmers are not really working with persistent objects as such; rather, the Persistence Service makes it appear as if they are.
Regards
Marcin
‎2011 Jan 03 9:30 AM
From help.sap.com:
If several programs use the Persistence Service to instantiate objects of the same class before one of these programs has changed the state using COMMIT WORK, all the objects will have the same initial state. At present, we have not implemented a Persistence Service lock concept, which would ensure that there was only one transient mapping for each persistent object. So ultimately, ABAP programmers are not really working with persistent objects as such; rather, the Persistence Service makes it appear as if they are.
Regards
Marcin