title: Updates to Entities not visible in App Engine Datastore
body: <p>I have come across the problem when I update one of my Entities manually in Datastore Viewer in App Engine Console, I cannot see the updates instantly from my Android application that uses that data I have updated. I know that there is Memcache from which the data is retrieved.
  Therefore my question is can delete the memchache for the entity I update so my application gets the new data to display? If so can someone tell me how to do it please? </p>
  
  <p>P.S. I have tried using 'Flush Memcache' via the Admin Console and it did not help. I am still getting the 'old' entity </p>
  
  <p>That is how I retrieve my entities. I use JDO for persisting and querying data. In my Data Accessor Object I have got this method which returns all the jobs and converts it to a JSONArray. Eventually this JSONArray is being passed to my mobile application with unfortunately 'old' data.</p>
  
  <pre><code>public JSONArray getAll() {
  
      JSONArray array = new JSONArray();
  
      try {
          Query q = pm.newQuery(Job.class);       
          List&lt;Job&gt; resultSet = (List&lt;Job&gt;) q.execute();
          Collections.sort(resultSet);
          Iterator i =resultSet.iterator();
  
          while (i.hasNext()){
              Job j = (Job) i.next();
  
              if(j.getDateDue().after(new Date())){
                  JSONObject tempjson;
                  tempjson = j.toJSONObject();
                  array.put(tempjson);
              }
          }
          return array;
      } 
      catch (JSONException e) {
              e.printStackTrace();
      }
      catch(Exception e){
          e.printStackTrace();
      }
  
      return null;
      }
  </code></pre>
  
  <p>And this is my Job class. I have trimmed the code for it to show only the attributes and not to take much space.</p>
  
  <pre><code>  @PersistenceCapable
    public class Job implements Comparable&lt;Job&gt;{
  
  @PrimaryKey
  @Persistent(valueStrategy=IdGeneratorStrategy.IDENTITY)
  private Key jobId;
  @Persistent
  private String jobTitle;
  @Persistent
  private String jobDescription;
  @Persistent
  private String address;
  @Persistent
  private String priority;
  @Persistent
  private double latitude;
  @Persistent
  private double longitude;
  @Persistent
  private String employeeId;
  @Persistent
  private Date dateAdded;
  @Persistent
  private Date dateDue;
  @Persistent
  private boolean completed;
  </code></pre>
  
  <p>It is very important to me that the app works on new updated data straight away. I appreciate any help</p>