Are you running 1.2.6 SDK or 1.2.8? The issue has been resolved in 1.2.8. On Tue, Dec 8, 2009 at 11:38 AM, kattus <[email protected]> wrote:
> Hi, > > I am using the Java version of the GAE API, trying to make a query > such as: > > SELECT FROM com.xxx.yyy.server.someclass WHERE (name == 'aaa' || name > == 'bbb') && accountId == 'test1' > > I get UnsupportedDatastoreOperationException. > > The problem seems to be in the || (logical OR) clause. Looking into > the documentation this should be supported (the OR operator is applied > to the same field, in this case 'name'): > > > http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Restrictions_on_Queries > > Look at the "Query Filters" section. > > Maybe I am missing something trivial.. the exception doesn't give any > additional information about what may be the problem, it is my guess > based on trial and error that the problem is in the OR operator. > > Thank you. > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- Ikai Lan Developer Programs Engineer, Google App Engine -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
