• 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
Always ZERO with Oracle NUMBER fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Always ZERO with Oracle NUMBER fields


  • Subject: Always ZERO with Oracle NUMBER fields
  • From: Ken Anderson <email@hidden>
  • Date: Tue, 15 May 2007 11:09:14 -0400

List friends,

I'm having a very strange problem with Oracle NUMBER columns with decimals in them. I have them setup like this:

        {
            allowsNull = Y;
            columnName = "Settlement_price";
            externalType = NUMBER;
            name = settlementPrice;
            precision = 10;
            scale = 3;
            valueClassName = NSDecimalNumber;
            valueType = B;
        },


but unfortunately, the value in the EO is always 0.000. If I use the Data Viewer in EOModeler, I see the correct values.


I've tried adding and removing the plug-in, messing with the valueType, everything... but always ZERO.

Any thoughts?

Thanks,
Ken

_______________________________________________
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:
    • [IGNORE]: Always ZERO with Oracle NUMBER fields
      • From: Ken Anderson <email@hidden>
  • Prev by Date: Re: how to do a product->product-type->product-attributes with non pre-determined product-attributes?
  • Next by Date: [IGNORE]: Always ZERO with Oracle NUMBER fields
  • Previous by thread: Re: mod_WebObjects with 64Bit Linux RPM?
  • Next by thread: [IGNORE]: Always ZERO with Oracle NUMBER fields
  • Index(es):
    • Date
    • Thread