Can you post the code? Are you reading by key? If you are using a query, you might be exposed to the eventually consistent nature of global queries in the datastore. Or is this only in the dev appserver?
-- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com On Fri, Feb 3, 2012 at 3:56 PM, John Goche <johngoch...@googlemail.com>wrote: > Hello, > > I am having the following problem. I am now using the low-level > google datastore API rather than JDO, that way I should be in a > better position to see exactly what is happening in my code. I am > writing an entity to the datastore and shortly thereafter reading it > from the datastore using Jetty and eclipse. Sometimes the written > entity is not being read. This would be a real problem if it were to > happen in production code. I am using the 2.0 RC2 API. > > I have tried this several times, sometimes the entity is retrieved > from the datastore and sometimes it is not. I am doing a simple > query on the datastore just after committing a write transaction. > > (If I run the code through the debugger things run slow enough > that the entity has a chance of being read back on the second pass). > > Any help with this issue would be greatly appreciated, > > Regards, > > John Goche > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-java@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.