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 <[email protected]> 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
www.sakshum.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 [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
.
--
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.