You might want to check "Query filters" here: http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Introducing_Queries "a query can only have one not-equal filter, and such a query cannot have other inequality filters"
A workaround can be to add two extra boolean properties "hasContactGroupId" and "hasContactId" and query on this (or one boolean property "hasContactGroupOrContact"). One disadvantage here is that you need to remember to update these fields every time the contact info changes. -- 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 [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-java?hl=en.
