I'm using LocalDatastoreServiceTestConfig on GAE in some GWT unit tests. I 
have some named queries in a JPA entity (tried both JPA 1.0 and 2.0), but 
they don't seem to work when they have a WHERE clause.

E.g., "SELECT FROM State" yields results, but not SELECT FROM State WHERE 
userId=:userId"

The exact same code works correctly in regular code (and I've been running 
the queries for over a year) on dev as well as production servers, but 
fails in unit tests. I can see through debugger that the data in the unit 
tests is present and the query should be returning results with the clause.

Is there some flag I need to set?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to