There's another function executeWithMap on the query object that you can
use.


On Sat, Jan 15, 2011 at 9:44 PM, Stephen Johnson <onepagewo...@gmail.com>wrote:

> There's another function executeWithArray on the query object that you can
> use.
>
> Sent from my iPhone
>
> On Jan 15, 2011, at 5:08 AM, Vik <vik....@gmail.com> wrote:
>
> Hie
>
> I am not able to pass more than 3 parameters using below code. So, how to
> pass more than 3 parameters?
>
> Query query = pm.newQuery(BloodDonor.class);
>  query.setFilter(" state == :stateName && district == :distName &&" +
> " city == :cityName && bloodGroup == :blood");
>  @SuppressWarnings("unchecked")
> List<BloodDonor> donors = (List<BloodDonor>)
> query.execute(state.toLowerCase(), district.toLowerCase(),
>  city.toLowerCase(), bloodGroup.toLowerCase());
>
>
> Thankx and Regards
>
> Vik
> Founder
> <http://www.sakshum.com>www.sakshum.com
>  <http://www.sakshum.blogspot.com>www.sakshum.blogspot.com
>
> --
> 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.
>
>  --
> 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<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

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