• 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: to-many is null?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >to-many is null? (From: Jonathan Rochkind <email@hidden>)

  • Prev by Date: Re: to-many is null?
  • Next by Date: Re: Frames & WO? [NEWBIE]
  • Previous by thread: to-many is null?
  • Next by thread: Re: to-many is null?
  • Index(es):
    • Date
    • Thread