Hi All,

I tried to run the GQL query in the Data Viewer (appengine.google.com) but 
it returns no result. Please see the following GQL and the JDO class below. 
Any hint what I did wrong?

For example,

SELECT * FROM Plan WHERE USER='[email protected]'

Where "Plan" is a JDO class, like the following:

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.users.User;
public class Plan {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;

    @Persistent
    private User user;

    // Setters and getters
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/ikiLe6tJCjAJ.
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