Re: to-many is null?
Re: to-many is null?
- Subject: Re: to-many is null?
- From: Ben Trumbull <email@hidden>
- Date: Mon, 11 Aug 2003 11:35:25 -0700
At 13:09 -0500 8/11/03, Jonathan Rochkind wrote:
>the contract of an EO is to always return an array for a
to-many >relationship, possibly an empty array, but never null.
While EOF does try to return empty arrays instead of null values
(much more convenient in Java), there is no such guarantee. Indeed,
it cannot make such a guarantee since anyone could do ...
>Any ideas what could be causing this?
Usually by invoking takeValueForKey(null, propertyName)
--
-Ben
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.