Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO][0.8.0] IStoreReader API
[CDO][0.8.0] IStoreReader API [message #609521] Sat, 25 August 2007 16:34
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Hi Eike,


I have the following problem.

I use CDO to access my database.
Objects can be modify through that API. In this case the CDORevisionResolver
has always the latest version.
In my context, objects can be modified through another application that
doesn't use CDO (native one).
The problem is when my objects are in my cache (CDORevisionResolver - server
side) it doesn't check with StoreReader if the version he got its the
latest one.
I think it should.

So I will like to add the following :

/** If it hit the cache... but need to change the values if not good anymore
**/
void IStoreReader.verifyRevision(CDORevision )


// In these calls
TimeLine.getRevision()
TimeLine.getRevision(long timestamp)
>> We can call RevisionManager.verifyRevision in the case where we did found
>> a CDORevision in the cache.


RevisionManager.verifyRevision(CDORevision)
RevisionManager.verifyRevision(CDORevision, long timestamp)
>> We can call IstoreReader.verifyRevision(CDORevision )

If you agree I cann add a feature request in Bugzilla
Previous Topic:Valid Fetch Types
Next Topic:[CDO][0.8.0] EAnnotation
Goto Forum:
  


Current Time: Thu Sep 26 02:12:24 GMT 2024

Powered by FUDForum. Page generated in 0.03852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top