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
* <b>ODA Data Type -> ODI Type Class</b><br>
     * <i>Integer -> java.lang.Integer<br>
     * Double -> java.lang.Double<br>
     * Character -> java.lang.String<br>
     * Decimal -> java.math.BigDecimal<br>
     * Date -> java.util.Date<br>
     * Time -> java.sql.Time<br>
     * Timestamp -> java.sql.Timestamp<br>
     * Blob -> java.sql.Blob<br>
     * Clob -> java.sql.Clob<br></i>
     * @param odaDataTypeCode   an ODA data type code
     * @return  the ODI type class that corresponds with 
     *          the specified ODA data type
     * @throws BirtException if the specified ODA data type is not a supported type
     */
    public static Class toOdiTypeClass( int odaDataTypeCode )
        throws BirtException
    {
        if( odaDataTypeCode != Types.CHAR &&
            odaDataTypeCode != Types.INTEGER &&
            odaDataTypeCode != Types.DOUBLE &&           
            odaDataTypeCode != Types.DECIMAL &&
            odaDataTypeCode != Types.DATE &&
            odaDataTypeCode != Types.TIME &&
            odaDataTypeCode != Types.TIMESTAMP &&
            odaDataTypeCode != Types.BLOB &&
            odaDataTypeCode != Types.CLOB &&
            odaDataTypeCode != Types.NULL )
        {
            throw new BirtException( pluginId,