It seems like if there was a bug related to the first element in the
clause being the "?1" because:

Query jquery = em.createQuery("SELECT FROM Player WHERE (age = ?2) AND
(name = ?3)");

or

Query jquery = em.createQuery("SELECT FROM Player WHERE (name = ?2) AND
(age = ?3)");

or

Query jquery = em.createQuery("SELECT FROM Player WHERE (name = ?2) AND
(age = ?1)");

or

Query jquery = em.createQuery("SELECT FROM Player WHERE (age = ?0) AND
(name = ?1)");

works, while:

Query jquery = em.createQuery("SELECT FROM Player WHERE (age = ?1) AND
(name = ?0)");

or

Query jquery = em.createQuery("SELECT FROM Player WHERE (age = ?1) AND
(name = ?2)");

doesn't.

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