If i change my authenticate filter to
                query.setFilter("ContactInfo.email == emailParam && password ==
passwordParam");

I now get this error.
javax.jdo.JDOUserException: Identifier ContactInfo.email is unresolved
(not a static field)




On Nov 3, 9:32 pm, "Max Ross (Google)" <maxr+appeng...@google.com>
wrote:
> Andy has pinpointed the issue.  You most likely don't have a field on your
> MyUser class named "email" but the error isn't being triggered on the first
> query because your second call to setFilter() is overwriting the reference
> to the nonexistent field.  You'll need to pass the entire filter to
> setfilter() and you most likely want 'contactInfo.email' instead of 'email'
>
> Hope this helps,
> Max
> On Tue, Nov 3, 2009 at 12:00 PM, datanucleus <andy_jeffer...@yahoo.com>wrote:
>
>
>
>
>
> > Multiple calls to setFilter will overwrite the previous value. Do you
> > really want to do that?
--~--~---------~--~----~------------~-------~--~----~
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-java@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