Hie
I am trying to pass multiple parameters as follows
Query query = pm.newQuery(PocVacationSchedule.class);
query.setFilter("pocId == bind_pocId && startDate ==
bind_startDate && endDate == bind_endDate");
query.declareParameters("Long bind_pocId");
query.declareParameters("Date bind_startDate");
query.declareParameters("Date bind_endDate");
List<PocVacationSchedule> rulesList =
(List<PocVacationSchedule>)query.execute(pocId, startFrom, endFrom);
And it throws exception passed 3 parameters where query is expecting 1.
So, what I am doing wrong here?
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.