Re: Value Type Invalid...
Re: Value Type Invalid...
- Subject: Re: Value Type Invalid...
- From: Greg <email@hidden>
- Date: Wed, 25 May 2005 12:22:56 +1000
In EOModeler turn on the value type column. You will probably see it
is missing the type on the attribute. For BigDecimal use B.
HTH,
Greg
On 25/05/2005, at 12:16 PM, LD wrote:
Hi there,
I've got an entity 'Product' with an attribute 'freightOffsetRatio'
as follows:
{
allowsNull = Y;
columnName = "FREIGHT_OFFSET_RATIO";
externalType = numeric;
name = freightOffsetRatio;
precision = 5;
scale = 4;
valueClassName = NSDecimalNumber;
},
Any ideas why the following problem occurs when saving a Product
when no value is suppled by the user?
The run-log gives the following on saving a product...
[2005-05-25 12:05:05 EST] <WorkerThread2> value type ' ' on
attribute "freightOffsetRatio" of entity "Product" is invalid. You
should fix your EOModel.
Thanks.
WO5.2.4 / Mac OS X 10.4.1 / PostgreSQL 8.0.3
with regards,
--
LD
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40framedphotographics.com
This email sent to email@hidden
_______________________________________________
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