Executes the stored query with the given name. If a query
with the name cannot be found, an exception will be thrown.
The queryName parameter can be an actual query String if the
StringQuerySource is configured on the server and the user
running the query has proper permissions.
Queries can only return lists of
IObject
instances. This means
all must be of the form:
select this from SomeModelClass this ...
though the alias
this is unimportant. Do not try to
return multiple classes in one call like:
select this, that from SomeClass this, SomeOtherClass that ...
nor to project values out of an object:
select this.name from SomeClass this ...
If a page is desired, add it to the query parameters.