Is there any method in place for doing this? Just wondering for jdo, below is what should happen.
/** Refresh the state of the instance from the data store.
*
* <P>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.
* <P>Outside a transaction, this method will refresh nontransactional state.
* @param pc the instance to refresh.
*/
Travis
|