ZeosLib Components Cached Updates

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
DiegoBM
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 09.02.2006, 13:33

ZeosLib Components Cached Updates

Post by DiegoBM »

I'd like to know which level of cached updates implementation comes with zeosdbo components.

I'll try to explain my problem with an example...
I don't really know if this is even possible on actual CachedUpdates implementations, but the matter is that when I post changes in a CachedUpdates-enabled Dataset without committing'em and then I try a Count(*) on the same table but another dataset, the count won't reflex the uncommited modifications.

The point would be a Connection-level CachedUpdates implementation capable to query together the Database and the entire transaction/connection-shared cache for results, as if the cached modifications where posted directly to the Database but remaining in the cache, some kind of "emulation?" of the database's on-post behavior.

Regards an well...sorry for my bad english :roll:
DiegoBM
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 09.02.2006, 13:33

Post by DiegoBM »

Nobody knows?

:(

If not implemented yet, but scheduled, I guess I'd help...
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

Sorry, but I don't understand the question at all ...
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post by gto »

Hey zippo, means something like this:

Today, the component cached updates store the modifications in your own cache, each component has one cache, independant from others
without commiting to database, the modifications made in a dataset don't reflect in another.

I think that's the way it work's today.

The idea of DiegoBM is to link all component caches to make a "big application database cache", a level of access that any modification you do in a dataset, but don't commmit, can be viwed from another dataset, in the same program.

Well, I think it's this :)
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
DiegoBM
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 09.02.2006, 13:33

Post by DiegoBM »

Yeah, it's exactly that, a connection-level cache. Thx gto :D
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Post by btrewern »

Try using ClientDataSets if you want this feature see cloned cursors. It does this kind of stuff and other clever things.

Ben
zippo
Silver Boarder
Silver Boarder
Posts: 322
Joined: 12.10.2005, 18:01
Location: Slovenia

Post by zippo »

What about server-side?

BEGIN TRNASACTION, COMMIT,.. etc. ?
Post Reply