Bug 148392 Float type fails to be retrieven in scripted datasets
1/ Create a scripted dataset with Float type values, retrive them in the fetch dataset's method configure the output columns and assign them the Float type => result preview fails to show the float columns values 2/ Set the columns' type as Any => the result preview shows normally 3/ Create a chart based on the previous dataset configure the databindings setting float as the said columns type (the dataset's type is Any) => the series fails to appear in the graph (see error in footer) 4/ Change the data bindings for the said columns as Any and use the series fromatting to fix it => the series appears normally
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
* java.sql.Timestamp -> Timestamp<br>
     * java.sql.Blob -> Blob<br>
     * java.sql.Clob -> Clob<br></i><br>
     * All other type classes are mapped to the ODA String data type.
     * @param odiTypeClass  a type class used by the Data Engine ODI component
     * @return  the ODA data type that maps to the ODI type class.
     */
    public static int toOdaDataType( Class odiTypeClass )
    {
        int odaType = Types.CHAR;   
        
        if( odiTypeClass == null )
            odaType = Types.CHAR;       
        else if( odiTypeClass == String.class )
            odaType = Types.CHAR;
        else if( odiTypeClass == Integer.class )
            odaType = Types.INTEGER;
        else if( odiTypeClass == Double.class )
            odaType = Types.DOUBLE;
        else if( odiTypeClass == BigDecimal.class )
            odaType = Types.DECIMAL;
        else if( odiTypeClass == Date.class )
            odaType = Types.DATE;
        else if( odiTypeClass == Time.class )
            odaType = Types.TIME;
        else if( odiTypeClass == Timestamp.class )
            odaType = Types.TIMESTAMP;
        else if( odiTypeClass == Blob.class )
            odaType = Types.BLOB;
        else if( odiTypeClass == Clob.class )