I have the following query:
SELECT FROM someClass WHERE username.startsWith(usernameParam) && 
name.startsWith(nameParam) PARAMETERS String usernameParam, String nameParam

When I run it, I am getting the following error:
Caused by: java.lang.RuntimeException: Server Error: Illegal argument

When i run it with only one parameter, it run ok meaning,
SELECT FROM someClass WHERE username.startsWith(usernameParam) PARAMETERS 
String usernameParam
When I call the execution of the query, I have this:
myQuery.executeWithArray(searchParameters.toArray());
I am not sure if && is the problem, and I have to make it with subquerys.
I hope someone helps. 

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