Re: EOF Boolean Qualifier
Re: EOF Boolean Qualifier
- Subject: Re: EOF Boolean Qualifier
- From: Sacha Mallais <email@hidden>
- Date: Tue, 3 May 2005 16:03:48 -0700
On May 3, 2005, at 7:43 am, Kieran Kelleher wrote:
I have been using the EOF Boolean custom attribute ( CHAR(5), "true",
"false") as described in Practical WebObjects on page 41/42.
I am struggling with the syntax required to qualify this custom
attribute type in a Fetch Specification in EOModeler. I am trying to
qualify with a constant qualifier
I've tried all of these and I get an exception error message in
EOModeler:
didRespond=true
didRespond ='true'
didRespond =java.lang.Boolean.TRUE
I have no problem in code fetching, for example this works fine as
expected:
NSArray responders = EOUtilities.objectsMatchingKeyAndValue(
ec,"EPRecipient","didRespond",Boolean.TRUE);
Is it possible to qualify this using a Boolean constant in a fetch
spec?
Hmm... I've never tried that with the constant in the qualifier itself.
You can certainly use the %@ notation then bind Boolean.TRUE to it.
sacha
--
Sacha Michel Mallais - 800 lb. gorilla
Global Village Consulting Inc.: http://www.global-village.net/
ObAd: read "Practical WebObjects" <fnord>
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden