Re: Qualifiers LIKE problem
Re: Qualifiers LIKE problem
- Subject: Re: Qualifiers LIKE problem
- From: Art Isbell <email@hidden>
- Date: Thu, 7 Apr 2005 13:48:29 -1000
On Apr 7, 2005, at 11:59 AM, Greg wrote:
It still seems to be filtering everything out. Is there some debugging
method that will show the SQL for the filter?
Usually, one doesn't need to include quotes in qualifier format
strings; qualifierWithQualifierFormat() takes care of that. So I
wonder whether the generated SQL might look something like:
where LAST_NAME like ''A*''
in which '' is two single quotes rather than one double quote.
I'd try something like
filter = EOQualifier.qualifierWithQualifierFormat("lastName like %@",
new NSArray(letter + "*"));
Aloha,
Art
_______________________________________________
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