Max Ross just posted a blog post about this:
http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.html
http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.htmlIt
sounds like you are enforcing the uniqueness constraint by encoding it as a
Key -
Hi,
I'm trying to use a Key inside a query filter. I am using this to
enforce uniqueness on a field (GAE does not support unique
constraint) .
In my query I try to fetch from ser a user with same name as the
entered one, but with different key (if I get no result - user name is
not taken).
This