• 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: Hiding NSKeyValueCoding$Null
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding NSKeyValueCoding$Null


  • Subject: Re: Hiding NSKeyValueCoding$Null
  • From: Arturo PĂ©rez <email@hidden>
  • Date: Tue, 9 Sep 2003 16:59:12 -0400

On Tuesday, September 9, 2003, at 01:18  PM, John Boynton wrote:

Hi Merul and list,

Hi,
I'm fetching a large data set using a raw row fetch since I don't need to initially instantiate any EOs for the returned objects.
When I bind any key from a dictionary in the returned array to a WOString, I'm getting an unsightly value for those fields that contain null values: >> <com.webobjects.foundation.NSKeyValueCoding$Null>
If I change the fetch to return EOs then null fields are correctly displayed, so is there a simple way to do the same for WOStrings bound to NSDictionary keys?
Thanks,
Merul

Since you're using a raw fetch couldn't you do something like SELECT NVL(dog, 'pony') from table?

-------
WebObjects in Philadelphia.  You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: Hiding NSKeyValueCoding$Null
      • From: John Boynton <email@hidden>
References: 
 >Re: Hiding NSKeyValueCoding$Null (From: John Boynton <email@hidden>)

  • Prev by Date: Re: strange behaviour with items in WORepition
  • Next by Date: Re: Hiding NSKeyValueCoding$Null
  • Previous by thread: Re: Hiding NSKeyValueCoding$Null
  • Next by thread: Re: Hiding NSKeyValueCoding$Null
  • Index(es):
    • Date
    • Thread