I haven't done this, but in the modeler, make your qualifier "availNew =
1" ...
-----Original Message-----
From: Jeff de Vries [mailto:jdevrie..frog.com]
Sent: Wednesday, August 31, 2005 2:09 PM
To: cayenne-use..bjectstyle.org
Subject: Trying to set qualifier on a saved query?
I'm trying to create a saved "object select query" using Modeler. My
object has a boolean field named "availNew". In the "SelectQuery
Settings" I'm entering "availNew" into the "Qualifier" text box. (I'm
also setting "Shared Cache" and unchecking "Refresh Results" as this is
a small, read-only table).
In my code I'm doing:
List result = dc.performQuery("MyQuery",false);
What happens is I get an exception about "unnamed queries".
I have other saved queries that are not using the Qualifier field that
are all working fine, so it is something about the qualifier.
Thanks,
Jeff de Vries
This archive was generated by hypermail 2.0.0 : Wed Aug 31 2005 - 14:19:03 EDT