Getting mad with NSNumber data type...
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