refresh(pc) - JDO PersistenceManager's method
Method javax.jdo.PersistenceManager
void refresh(
Object pc
)
In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data store so that a subsequent commit is more likely to succeed.
Outside a transaction, this method will refresh nontransactional state.
- Parameters:
-
pc
- the instance to refresh.
- Since:
- JDO 1.0