CommitRetaining method |
Applies to
TIB_Transaction
Declaration
Procedure CommitRetaining;
Description
This method causes a post of all datasets in an edit state and then makes all
posted changes in the transaction committed on the server. This call retains the
current physical transaction so it doesn't require that open datasets be closed
or have all their records fetched into the buffers.
This method is ideal for when you don't want the datasets to be closed but
all changes posted up to this point should be committed.
Because calling this method does not end the transaction it is still holding up
garbage collection. Therefore, any application that may be consistently open for
a long period of time must be sure that there is an occasional hard Commit or
Rollback performed so that the OAT (oldest active transaction) can be advanced
and garbage collection take place.
This is especially critical for apps that run 24X7.