this is surely a bug.... following is my test case

        PersistenceManager pm = pmf.getPersistenceManager();
        Query query = pm.newQuery(_Contact.class);

        query.setOrdering("EmailID");
        query.setFilter("Groups.contains(\"mygroup\")");

        int i = 1;
        for(_Contact cont : (List<_Contact>) query.execute()){
            resp.getWriter().print(i++ + " " + cont.getID() + "<br>");
        }

        pm.close();


above code printed 23 contacts and when I replaced
*query.setOrdering("EmailID");
*by *query.setOrdering("EmailID desc"); *it printed 18 contacts only.

--

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.


Reply via email to