I have Category class with this field:

@Persistent
private long id;

when create/save the instance i put the value 1010015800249L to the
class constructor... then it fill the id field.

then, when i query:

List<Category> cats = (List<Category>) pm.newQuery( Categoria.class,
"id < 1020000000000L" ).execute();

I get an empty data set.

if query :

List<Category> cats = (List<Category>) pm.newQuery( Category.class,
"" ).execute();

i get that category... ( cats.size()=1 ) but
cats.get(0).id= 1221981180920369152

What is wrong ?

How can i query id < 1020000000000L

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to