My code:

Query q = pm.newQuery("select from " + Phrase.class.getName() + "
where :p1.contains(phrase) && phrases_INTEGER_IDX == 0");

List<Phrase> phraseList = (List<Phrase>) q.execute(matches);


This returns the following error:

Unexpected expression type while parsing query.  Are you certain that
a field named phrases_INTEGER_IDX exists on your object?
org.datanucleus.store.appengine.FatalNucleusUserException: Unexpected
expression type while parsing query.  Are you certain that a field
named phrases_INTEGER_IDX exists on your object?

So I guess I can't get access to this field?

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