• 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: Value Type Invalid...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Value Type Invalid... (From: LD <email@hidden>)

  • Prev by Date: Value Type Invalid...
  • Next by Date: Using EO
  • Previous by thread: Value Type Invalid...
  • Next by thread: Re: Value Type Invalid...
  • Index(es):
    • Date
    • Thread