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

[IGNORE]: Always ZERO with Oracle NUMBER fields


  • Subject: [IGNORE]: Always ZERO with Oracle NUMBER fields
  • From: Ken Anderson <email@hidden>
  • Date: Tue, 15 May 2007 12:02:04 -0400

My fault - was connecting to an identical DB that happened to have zeros for all decimal values...

On May 15, 2007, at 11:09 AM, Ken Anderson wrote:

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:
40anderhome.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: 
 >Always ZERO with Oracle NUMBER fields (From: Ken Anderson <email@hidden>)

  • Prev by Date: Always ZERO with Oracle NUMBER fields
  • Next by Date: Poor Oracle performance?
  • Previous by thread: Always ZERO with Oracle NUMBER fields
  • Next by thread: Poor Oracle performance?
  • Index(es):
    • Date
    • Thread