See
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html for
sample usage.
In this case, you should be using:

Query query = pm.newQuery("select from Subscriber where make ==
'someone' order by dateCreated asc");

This is JDOQL, which uses Java syntax. In particular, you need to use == for
comparison rather than a single =.

- Jason

On Tue, Sep 22, 2009 at 12:37 AM, mar_novice <[email protected]>wrote:

>
> is this gql correct?
> SELECT * FROM Subscriber where make = 'someone' order by dateCreated
>
> if so, why i got server error?
> if not, what is the correct query?
>
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to