Kbase P19413: Changes on last record in a loop are not commited
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/24/2011 |
|
Status: Verified
SYMPTOM(s):
Changes on last record in a loop are not committed
Client/Server connection
No problems when connection is via shared memory
Records are created in a loop, and later re-read in the same transaction
The same buffer is used for all operations in the transaction
VALIDATEing the records (See Solution P2978) does not solve the issue.
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
FIX:
Explicitly RELEASE the buffer instead of using VALIDATE after the loop in which the records are created.
RELEASE will ensure that the last record is united with the database before the buffer is reused, where VALIDATE does not.