Consultor Eletrônico



Kbase P14228: Importing records into a database table and record locks are being held after the code ends
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

SYMPTOM(s):

Importing records into a database table

Using a dynamic buffer

Using a dynamic query

Record locks are being retained after the import of records is completed

CAUSE:

The dynamic buffer was being used to add the imported data to the database and the buffer was never flushed to the database by using the BUFFER-RELEASE() method.

FIX:

Modify the source code to properly flush the buffer to the database using the BUFFER-RELEASE() method.