• 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: Alexander Spohr <email@hidden>
  • Date: Mon, 17 Mar 2008 16:29:04 +0100

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!

	atze



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))

ms

_______________________________________________
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

Freeport & Soliversum Alexander Spohr email@hidden www.freeport.de


_______________________________________________ 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: Chuck Hill <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>)

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