Hi! Did you try using Keys?
On Mon, Oct 17, 2011 at 7:27 PM, keyvez <[email protected]> wrote: > Query query = new Query(User.class.getSimpleName()); > > query.addFilter("id", FilterOperator.IN, userIdList); // I've also tried > passing userId as a list of strings > > log.info("query: " + query.toString()); // Shows SELECT * FROM User > WHERE id IN [194002, 183005, 198001, 196003] > > PreparedQuery preparedQuery = datastore.prepare(query); > > FetchOptions fetchOptions = FetchOptions.Builder.withDefaults(); > > List<Entity> resultList = preparedQuery.asList(fetchOptions); > > log.info("result: " + resultList.size()); > > The query runs but produces zero results. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine-java/-/FSlCoxMpHLYJ. > 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. > -- Bruno Fuster -- 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.
