Im trying to do a JDO query on the datastore using PM and am getting
this error:
HTTP ERROR: 500
Portion of expression could not be parsed: @gmail.com.
------------------------------------------------------
Here is the code that is causing the error and im not sure how to
solve it.
        PersistenceManager pm = PMF.get().getPersistenceManager();
        String query = "select from " + account.class.getName() + "
where
emailAddress == " + user;
        List<account> accounts = (List<account>) pm.newQuery
(query).execute
();
what im trying to do is store the User object in the datastore as
part
of a record and then query the datastore for all the records by the
currently logged in user.  If there is a better way please let me
know.
thanks
Neil

--~--~---------~--~----~------------~-------~--~----~
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-appengine@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