[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[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? Are these modifications done on a separate thread and how are conflicting changes handled?

When not using passive updates what happens during a session refresh? (especially when there are modifications that have not been committed yet).

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?

---
Anders
At 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