Thanks Ikai! I noticed that the docs are updated now too. This page has a couple examples on it as well: http://code.google.com/appengine/docs/java/datastore/usingjdo.html
// Tomas On Mar 30, 3:57 pm, "Ikai L (Google)" <ika...@google.com> wrote: > Yep. The example is documented here: > > http://googleappengine.blogspot.com/2010/03/read-consistency-deadline... > > <http://googleappengine.blogspot.com/2010/03/read-consistency-deadline...>Query > q = pm.newQuery(Employee.class); > q.addExtension("datanucleus.appengine.datastoreReadConsistency", > "EVENTUAL"); > > > > On Fri, Mar 26, 2010 at 5:12 PM, Isdal <tomas.is...@gmail.com> wrote: > > Hi all, > > > Thanks for all new new features in 1.3.2! > > > I was just wondering if it is possible to use the > > "ReadPolicy.Consistency.EVENTUAL" feature and still use the JDO > > interface. > > > I am currently getting a PersistenceManager with: > > JDOHelper.getPersistenceManagerFactory("transactions- > > optional"); > > > Is there a way to tell the PersistenceManager to tell the datastore to > > accept eventually consistent reads? Most of my app can handle stale > > data, and any performance improvement would be great! > > > Thanks! > > > // Tomas > > > -- > > 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-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- > Ikai Lan > Developer Programs Engineer, Google App > Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine -- 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-j...@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.