• 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
Null-Pointers from a to Many array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Null-Pointers from a to Many array


  • Subject: Null-Pointers from a to Many array
  • From: Greg Hulands <email@hidden>
  • Date: Tue, 5 Oct 2004 08:45:02 +1000

Hi,
When I try to access the array of a to many relationship and it contains no records, instead of returning an empty array, it returns null. I am using wonder if that makes a difference. Is this a normal thing? It seems a pain in the ass that each time I want to iterate over a to many array I have to check to see if it isn't null.


Am I doing something wrong?

Regards,
Greg

_______________________________________________
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: Null-Pointers from a to Many array
      • From: Tim Kliewer <email@hidden>
  • Prev by Date: Problems building with Eclipse
  • Next by Date: Re: Highlighting Search Words
  • Previous by thread: Eclipse build.xml "class Application cannot be found"? [WAS: Problems building with Eclipse]
  • Next by thread: Re: Null-Pointers from a to Many array
  • Index(es):
    • Date
    • Thread