Changes between Version 8 and Version 9 of FDORfc55


Ignore:
Timestamp:
Jan 14, 2011, 2:33:20 PM (13 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc55

    v8 v9  
    2828
    2929The motivation is well explained by:
    30 Ticket #365 [SHP Provider]: When executing IApplySchema, !Int32 properties are converted to Decimal properties
     30Ticket #365 [SHP Provider]: When executing IApplySchema, Int32 properties are converted to Decimal properties
    3131http://trac.osgeo.org/fdo/ticket/365
    3232
    33       >> If you execute an IApplySchema on a SHP connection. Any Int32 properties in any class definitions inside the schema (to be applied) will be converted to Decimal properties once the schema has been applied. This does not happen if the !Int32 property happens to be an Identity property. <<
     33      >> If you execute an IApplySchema on a SHP connection. Any Int32 properties in any class definitions inside the schema (to be applied) will be converted to Decimal properties once the schema has been applied. This does not happen if the Int32 property happens to be an Identity property. <<
    3434
    3535For further clarification "will be converted to Decimal properties" refer to !FdoDecimal properties.
     
    4747    * the DBF to FDO datatype mapping (physical to logical conversion) needs a small refinement. In the case of DECIMAL(precision, scale) check the scale value. When the scale is 0 (zero) then return an !FdoInt32 rather than an !FdoDecimal. Note SHP doesn't support !FdoInt64 or !FdoInt16 datatypes therefore the mapping to !FdoInt32 is unique.
    4848
    49  == Implications ==
     49== Implications ==
    5050
    5151     * In the case of physical DECIMAL(precision, scale) column the corresponding logical FDO property type will be set according to the scale. The caller must expect either a !FdoDecimal or a !FdoInt32 when reading a SHP schema.