• 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: Qualifier Format String truncates on error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qualifier Format String truncates on error?


  • Subject: Re: Qualifier Format String truncates on error?
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 17 Mar 2008 09:38:40 -0700


On Mar 17, 2008, at 8:29 AM, Alexander Spohr wrote:

Or if you’re not using Wonder stick to the matching qualifiers:
EOKeyValueQualifier, EOAndQualifier, EOOrQualifier...

Forget that there is something like qualifierWithFormat. It is considered evil and only lures the lazy ones into the pit of the queasy qualifier beast of traal!

Sure, go and give away the secret to dependable code. :-P




Am 17.03.2008 um 16:19 schrieb Mike Schrag:

"part = %@ and lotCodeValue = %@ amd manufacturingSchedule = %@"
This is why I build qualifiers with code. In particular, with ERXKey, this would be:

EOQualifier qualifier = Item .PART .is (part ).and (Item .LOT_CODE_VALUE .is(lotCodeValue)).and(Item.MANUFACTURING_SCHEDULE.is(schedule))

or if you don't want to go all the way to ERXKey:

EOQualifier qualifier = ERXQ.and(ERXQ.equals(Item.PART_KEY, part), ERXQ.equals(Item.LOT_CODE_VALUE_KEY, lotCodeValue), ERXQ.equals(Item.MANUFACTURING_SCHEDULE_KEY, schedule))


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
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


  • Follow-Ups:
    • Re: Qualifier Format String truncates on error?
      • From: David Avendasora <email@hidden>
References: 
 >Qualifier Format String truncates on error? (From: David Avendasora <email@hidden>)
 >Re: Qualifier Format String truncates on error? (From: Mike Schrag <email@hidden>)
 >Re: Qualifier Format String truncates on error? (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: source control best practice with wonder
  • Next by Date: Re: Qualifier Format String truncates on error?
  • Previous by thread: Re: Qualifier Format String truncates on error?
  • Next by thread: Re: Qualifier Format String truncates on error?
  • Index(es):
    • Date
    • Thread