{
Writer writer = changer.updateEntity( state.identity(),
state.entityDescriptor() );
writeEntityState( state, writer, unitOfWork.identity(), unitOfWork.currentTime() );
writer.close();
if( options.cacheOnWrite() )
{
cache.put( state.identity().identity(), new CacheState(state.state()) );
}
} else if( state.status().equals( EntityStatus.REMOVED ) )
{