See Pierre Bernards excellent "Qualifiers Additions" at http:// www.bernard-web.com/pierre/webobjects/code.html

I think the ExistsInRelationshipQualifier is the one you want for this.

Chuck

On Sep 20, 2007, at 5:57 AM, Daniele Corti wrote:

Hi all,
I was looking for a way to fetch an object that have empty relations using EOQualifiers


I used this qualifier:

keyValueQualifier = new EOKeyValueQualifier("activations", EOQualifier.QualifierOperatorEqual , EOEnterpriseObject.NullValue);

but it doesn't seem to work. activations is a toMany relation of the fetched object

--
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to