Thanks for your response. What finally worked was this.
List<Key> userIdKeyList = new ArrayList<Key>();
for (Long userId : userIds) {
userIdKeyList.add(KeyFactory.createKey(User.class.getSimpleName(),
userId));
}
query.addFilter("__key__", FilterOperator.IN, userIdKeyList);
--
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/-/FHAFYH1bioQJ.
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.