Kbase 19506: ADM2 - Locking Strategy Used For SmartObjects
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  07/02/2000 |
|
Customers have asked what the locking strategy (or methodology) is for SmartObjects written using ADM2.
The whole basis of the ADM2 is designed for distributed applications with a flexible data definition (not presuming that all the data comes straight out of a Progress database or through a Progress DataServer).
Therefore all the code is built around the use of temp-tables for intermediate storage of data. This of course requires optimistic locking, since the client is not expected to have a database connection at all and there is really no way for the server to maintain record locks across communications with the client even if it wanted to.