commonj.sdo.Decimal type mapping issue in SDODataTypes
------------------------------------------------------

                 Key: TUSCANY-3100
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3100
             Project: Tuscany
          Issue Type: Bug
          Components: Java DAS RDB
    Affects Versions: Java-DAS-beta1
         Environment: JDK version 1.5.0_06. 
Tuscany das beta2
            Reporter: Ashok Shah


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";




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to