Hello,
I want to create JDO query with 4 arguments, but in Eclipse I got
error, that only 3 arguments are allowed.
Atm my code looks like this:
Query q = PMF.get().getPersistenceManager().newQuery(User.class);
q.setFilter("companyKey == companyKeyParam && accountant ==
accountantParam && registred == registredParam && banned ==
bannedParam");
q.declareParameters("String companyKeyParam, Boolean accountantParam,
Boolean registredParam, Boolean bannedParam");
q.setOrdering("createDate desc");
List<User> results = (List<User>) q.execute(companyKey, true, true,
false);
Is it possible to use 4 arguments in queary?
Thanks
--
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.