Hy...
I'm using a JDO Query to retrieve some objects of type Contact witch
contains:
Key key;
Key parentKey;
String name;
...

parentKey is the key of the User that owns that Contacts.

Si if want to retrieve all contacts that belong to a certain user i'd
have to make a query that returns all Contact objects with parentKey
== user.key

But i have a problem comparing the keys
if I pass them (the keys...) as String, it will retrieve all contacts.
If i pass them as Key, it will retrieve nothing.
So what is the problem ? I can't use JDO to make a Query that uses a
key equality constraint ?
Is it mandatory to use datastore Query? or at least can I compose the
string query my self ? How ?

-- 
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-j...@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