Subject | Re: [IBO] Global DML Caching |
---|---|
Author | Jason Wharton |
Post date | 2003-05-27T22:39:33Z |
Just as you are responsible for creating the cache table, you are also
responsible to purge it in whatever way you chose. Some may leave it as a
part of a log table so I don't have it automatically delete records.
You are doing nothing wrong. Removing the record from the buffer is what you
want to happen. The next time it is needed the new version of the record
will be fetched from the server.
Perhaps I don't know what you mean by removing the record. If the primary
key value is changed then it could think the record was deleted and remove
the record and the key for the record totally. I can see how this might be a
problem.
Let me know.
Regards,
Jason Wharton
CPS - Computer Programming Solutions
Mesa Arizona
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
responsible to purge it in whatever way you chose. Some may leave it as a
part of a log table so I don't have it automatically delete records.
You are doing nothing wrong. Removing the record from the buffer is what you
want to happen. The next time it is needed the new version of the record
will be fetched from the server.
Perhaps I don't know what you mean by removing the record. If the primary
key value is changed then it could think the record was deleted and remove
the record and the key for the record totally. I can see how this might be a
problem.
Let me know.
Regards,
Jason Wharton
CPS - Computer Programming Solutions
Mesa Arizona
http://www.ibobjects.com
-- We may not have it all together --
-- But together we have it all --
----- Original Message -----
From: "manielsen2002" <mnielsen@...>
To: <IBObjects@yahoogroups.com>
Sent: Saturday, May 24, 2003 12:20 PM
Subject: [IBO] Global DML Caching
> How does the CACHE Table ever get purged? It just grows and grows?
>
> Also when I get the DMLReceiveItem Event how do I refresh just the
> one record that I'm on? I've tried InvalidateBookmark and this just
> removes the record from my dataset. I'm using CachedUpdates and
> don't really have a choice to not at this point. All the articles I
> read say to just use the invalidatebookmark. What am I doing wrong?
>
> Thanks,
>
> Matt