• 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
Getting mad with NSNumber data type...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting mad with NSNumber data type...


  • Subject: Getting mad with NSNumber data type...
  • From: "Mike Bobkiewicz" <email@hidden>
  • Date: Mon, 14 Aug 2006 17:56:46 +0200

Hi,
after some years away from WO development a project brings me back to
it. I´m working on a OS X Tiger, XCode 2.4 and MySQL 5 environment.
Mastering the first normal problems I´m now at a point of no go: I´ve
some fields in my database of type double. After setting the typ for
both internal and external data type to "double" in the info window
EOModeler sets the Value Class to "NSNumber". Trying to store any value
in the variable of a class containing this type of field I get an error
message "value type ' ' on attribute 'x' of entity 'y' is invalid. You
should fix your EOModel". Trying to insert any calculated values gives
compiler error "incompatible types" when I try to assign a double
variable. On the other hand Integer works without a problem. What´s
wrong? Must I change the class file and change "Number" to "double".
Please help.

Best regards,

 Mike Bobkiewicz

 _______________________________________________
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: Getting mad with NSNumber data type...
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: looking for PA ...
  • Next by Date: Re: Tutorial project
  • Previous by thread: Re: looking for PA ...
  • Next by thread: Re: Getting mad with NSNumber data type...
  • Index(es):
    • Date
    • Thread