Hy, I want to order a query by 'nom' asc and 'prenom' asc :
                try {
                        Query query = null;
                        query = pm.newQuery(AkroreUser.class);
                        query.setRange(fromIncl, toExcl);
                        query.setOrdering("nom ascending");
                        query.setOrdering("prenom ascending");
                        result = new ArrayList<AkroreUser>((List<AkroreUser>)
query.execute());
                } finally {
                        pm.close();
                }
I did also add the index :
    <datastore-index kind="Employee" ancestor="false">
        <property name="lastName" direction="asc" />
        <property name="hireDate" direction="desc" />
    </datastore-index>

It works fine, but only with english letters and not with french ones.
' e ' comes before ' i ', but  ' é ' comes afer ' i '. Is there a way
to fix that? (''é ' should be considered like ' e ')
Thanks.

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to