Re: EOModeler - Decimal Types
Re: EOModeler - Decimal Types
- Subject: Re: EOModeler - Decimal Types
- From: David Griffith <email@hidden>
- Date: Wed, 12 May 2004 14:19:55 +0200
Thanks, I didn't see the Value Class (Java) column until you mentioned it.
Also, what appeared in my mail as B9 was actually B with quotes around it
which got converted into odd control codes :-)
Thanks for the help, it's fine now.
Dave.
>
> Value Class is for Obj-C Apps it has to be NSDecimalNumber.
> Column Value Class (Java) is for Java classes (if you don't have this
> column you
> can add it) it has to be BigDecimal. Value Type is very important and
> it has to be B not B9.
>
> On 2004-05-10, at 10:54, David Griffith wrote:
>
>> Here9s an easy one:
>>
>> Can someone tell me what Value Class I should be using for decimal
>> numbers
>> in EOModeler. It has chosen NSDecimalNumber as the default - however
>> someone mentioned before that this was Obj-C not Java. If I enter
>> BigDecimal it is looking for factory conversion methods etc. What is
>> the
>> normal way?
>>
>> I have entered a Value Type of B9 and I am now getting
>> ClassCastExceptions
>> in runtime. (These are just for standard Currency fields).
>>
>> Any suggestions?
>>
>> David.
>> _______________________________________________
>> 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.
>>
>>
> Marcin #ukasiak
_______________________________________________
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.