Which SDK are you using? Also, are you seeing this locally or in prod? If you're seeing it in prod can you reproduce the behavior locally?
Thanks, Max On Wed, Nov 25, 2009 at 1:15 AM, Prashant <[email protected]> wrote: > following is my JDO class: > > @PersistenceCapable(identityType = IdentityType.APPLICATION) > public class _Contact{ > > @Persistent(primaryKey = "true") > private String EmailID; > > @Persistent > private String Name; > > @Persistent > private List<String> Groups; > } > > > > 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. Is it a bug or I am missing something? > > -- > 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]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- 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.
