The general workaround for OR is to issue separate queries, then merge the results. - Jason
On Thu, Sep 17, 2009 at 9:51 PM, Francis <francis....@gmail.com> wrote: > > hi: > > I wrote the following query: > Select p From we.bean.base.Player p where p.Id = 664778005 OR p.Id = > 999 > > and I get: > > Nested in org.apache.jasper.JasperException: > org.datanucleus.store.appengine.query.DatastoreQuery > $UnsupportedDatastoreOperatorException: Problem with query <SELECT > FROM we.bean.base.Player p WHERE p.facebookId = 664778005 OR > p.facebookId = 999>: App Engine datastore does not support operator > OR : > org.datanucleus.store.appengine.query.DatastoreQuery > $UnsupportedDatastoreOperatorException: Problem with query <Select p > From we.bean.base.Player p where p.Id = 664778005 OR p.Id = 999>: App > Engine datastore does not support operator OR > > App Engine datastore does not support operator OR > > so we can't use or in datatstore.??? > > thx. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---