> On Feb 22, 2017, at 4:33 PM, Andrus Adamchik <[email protected]> wrote:
> 
>>>> oc1.refreshObject(obj), or even oc1.refreshAllObjects()

BTW, the following should probably work:

object.setPersistenceState(PersistenceState.HOLLOW);

As odd as it sounds, I've never tried doing it myself. But looking at the code, 
it should give the desired effect - getting data from shared cache on first 
property access, and bypassing the cached state at the ObjectContext level.

Andrus

Reply via email to