• 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: Help with Qualifier and NSKeyValueCoding.NullValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Qualifier and NSKeyValueCoding.NullValue


  • Subject: Re: Help with Qualifier and NSKeyValueCoding.NullValue
  • From: Art Isbell <email@hidden>
  • Date: Tue, 11 Apr 2006 09:23:53 -1000

On Apr 11, 2006, at 9:08 AM, Kieran Kelleher wrote:

When I include this qualifier in a qualifier constructed of other qualifiers ANDed and ORed, I get the stack trace shown below. If I leave it out of the qualifier construct, I have no problems. Any idea why this is wrong? endDate is an NSTimestamp mapped to DateTime column.

            EOQualifier endEqualsNullQualifier = new EOKeyValueQualifier( "endDate",
                                                                          EOQualifier.QualifierOperatorEqual,
                                                                          NSKeyValueCoding.NullValue );

Exception while processing scheduled tasks

java.lang.ClassCastException

Maybe the class cast exception occurs because endDate is a NSTimestamp, not a NSKeyValueCoding.Null.  I've never used NSKeyValueCoding.NullValue to signify null in a qualifier.  Have you tried "null" instead? 

Aloha,
Art

 _______________________________________________
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: Help with Qualifier and NSKeyValueCoding.NullValue
      • From: Kieran Kelleher <email@hidden>
References: 
 >Help with Qualifier and NSKeyValueCoding.NullValue (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Help with Qualifier and NSKeyValueCoding.NullValue
  • Next by Date: Re: Error Message:
  • Previous by thread: Help with Qualifier and NSKeyValueCoding.NullValue
  • Next by thread: Re: Help with Qualifier and NSKeyValueCoding.NullValue
  • Index(es):
    • Date
    • Thread