You are serializing AnnotationType in your Annotation class rather than 
embedding it.  You cannot query against a serialized object because it's 
stored in bytes rather than a queryable type.  In order to query against 
this, you should change to:

@Embedded private AnnotationType annotationType;

At that point you can remove your serialization if you're not using it 
elsewhere:

public class AnnotationType {

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