Hi,

Let's say object A is persisted in a Voyage repository. Then object A is
modified in memory. Next I want to put object A back to its state as
persisted in the repository.

As there is some caching in place, doing a 'ObjectA selectAll' will
return the modified instance in memory, no access to the DB takes place.

As understood, cache can be flushed, but it is overkill, no?

Is it safe to just do:

        VOMongoRepostiry current cache removeObject: objectA

to only flush objectA from cache?

Hilaire

-- 
Dr. Geo
http://drgeo.eu


Reply via email to