[Fdo-trac] [fdo-trac] #882: Error with operation on Number without scale

FDO trac_fdo at osgeo.org
Wed Mar 5 02:55:47 PST 2014


#882: Error with operation on Number without scale
-----------------------------------+----------------------------------------
   Reporter:  bscott               |       Owner:  haris
       Type:  defect               |      Status:  new  
   Priority:  minor                |   Milestone:  3.8.0
  Component:  KingOracle Provider  |     Version:  3.8.0
   Severity:  3                    |    Keywords:       
External_id:                       |  
-----------------------------------+----------------------------------------

Comment(by bscott):

 This scale value is used in a function c_FdoOra_API3::OraTypeToFdoDataType
 If the oci type is either numer or decimal
 the function test the scale
 if the scale <= 0 then its an int (either 16,32 or 64 according to the
 precision)
 otherwise its a decimal

 So defaulting the scale to 9999 forces the translation to
 FdoDataType_Decimal on Oracle NUMBER()


 there maybe a better way of doing this, but we would have to change the
 c_FdoOra_API3::OraTypeToFdoDataType

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/882#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list