Subject | Re: [IBO] Cached Updates and CommitUpdates |
---|---|
Author | Helen Borrie |
Post date | 2004-12-16T23:53:25Z |
At 09:39 PM 16/12/2004 +0000, you wrote:
ApplyUpdates is equivalent to Post in the "live" model, i.e. it loops
through the cache and posts the changed and inserted records and the
deletions; Commit commits the transaction; CommitUpdates doesn't commit
anything, but resets (empties) the cache buffer.
Your other problem is probably due to being (justifiably!!) confused by the
name of the CommitUpdates method. Beats me why Borl didn't name it
ClearCacheBuffer or something similar.
Helen
>In what order should I use the CommitUpdates in regards to aAfter.
>transaction? Before the Transaction Commit or After?
ApplyUpdates is equivalent to Post in the "live" model, i.e. it loops
through the cache and posts the changed and inserted records and the
deletions; Commit commits the transaction; CommitUpdates doesn't commit
anything, but resets (empties) the cache buffer.
Your other problem is probably due to being (justifiably!!) confused by the
name of the CommitUpdates method. Beats me why Borl didn't name it
ClearCacheBuffer or something similar.
Helen