Hi all,

I'm pretty new using GQL so hopefully someone can help me solving this easy 
(?) problem.

I store my Entities in the DB using datastore.put( Entity ) without using an 
ID. But if I look at the Datastore Viewer I see that these entities are 
stored with an unique id called *ID/Name*. Now I'm trying to load such an 
entity using this code:

SELECT * from DB WHERE ID/Name = 'id=1' <- Error
SELECT * from DB WHERE ID = 'id=1' <- empty resultset
SELECT * from DB WHERE Name = 'id=1' <- empty resultset
SELECT * from DB WHERE ID/Name = '1' <- Error
SELECT * from DB WHERE ID = '1' <- empty resultset
SELECT * from DB WHERE Name = '1' <- empty resultset

Can anybody tell me what to use to get this entry?

Thanks in advance!

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