... so your query is wrong. setFilter() sets the filter to what you
pass in, so calling it twice sets it to the last thing you set it to.
Why not just do

pm.newQuery("SELECT FROM " + UserModel.class.getName() + " WHERE
userModel == :login AND password == :password");

-- 
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