Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3100

commonj.sdo.Decimal type mapping issue in SDODataTypes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Java-DAS-beta1
    • Java-SDO-Next
    • Java DAS RDB
    • None
    • JDK version 1.5.0_06.
      Tuscany das beta2

    Description

      Practical description:
      When making a call to das.applyChanges for a dataobject for Oracle database with primary key of type Number(10) which maps to commonj.sdo.Decimal it throws a java.lang.RuntimeException: Not a valid SDO Type Error.
      _____________________________________________________________________________________________________
      Technical description:
      Line number 52 in SDODataTypeHelper.java does a comparision for a type DECIMAL, by calling SDODataTypes.DECIMAL. The type SDODataTypes.DECIMAL is defined as a Float in the SDODataTypes.java class on line number 53 as below:

      public static final Type DECIMAL = TYPE_HELPER.getType("commonj.sdo", "Float");
      public static final String DECIMAL_STR = "commonj.sdo.Float";

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashokshah25 Ashok Shah
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: