• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Qualifiers LIKE problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Qualifiers LIKE problem (From: Greg <email@hidden>)
 >Re: Qualifiers LIKE problem (From: Chuck Hill <email@hidden>)
 >Re: Qualifiers LIKE problem (From: Greg <email@hidden>)

  • Prev by Date: Re: Qualifiers LIKE problem
  • Next by Date: WOPopUp For Newbie
  • Previous by thread: Re: Qualifiers LIKE problem
  • Next by thread: Problem with many to many relation involving a abstract class
  • Index(es):
    • Date
    • Thread