how do i do query with 4 params?
query.setFilter( "x > x1 && x < x2 && y > y1 && y < y2" );
query.declareParameters( "int x1, int x2, int y1, int y2" );
Object arr[] = new Integer[4];
arr[0] = Integer.valueOf( x1 );
arr[1] = Integer.valueOf( x2 );
arr[2] = Integer.valueOf( y1 );
arr[3] = Integer.valueOf( y2 );
List<Location> results =
(List<Location>)query.executeWithArray( arr );
this gives me Exception
--
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.