Re: Qualifier Format String truncates on error?
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