| [news.eclipse.tools.emf] Re: [CDO] Passive updates |
I am not sure I fully understand the concept of passive updates.
If a client starts modifying a CDO resource I understand that the objects are loaded on demand as they are needed. If another client modifies the same resource and commits a transaction will the client receive updates to its cached objects?
[SIMON] Only if passive update on session1 is true.
separate thread and how are conflicting changes handled?
[SIMON] Separate threads (In the case where passive update = true
When not using passive updates what happens during a session refresh?[SIMON] All objects in the caches are updated
(especially when there are modifications that have not been committed yet).[SIMON] In this case two things could happen
Simon
Thanks,
--- Anders
Eike Stepper wrote:Simon McDuff schrieb:Anders Forsell wrote:I have turned off passive updates for my CDO session. Do I need to refresh the session when committing a transaction, or is it done implicitly?
--- AndersAt the moment, yes.
But I think it will make sense to refresh automatically. WHat do you think ?Hmm, not sure about this one: Refreshing the session affects *all* views/transactions of that session. Is that something that should be implicitely done by one of the transactions?
Cheers /Eike
---- http://thegordian.blogspot.com