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
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http:www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.core.data;
import java.math.BigDecimal;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Time;
import java.sql.Timestamp;
import java.sql.Types;
import java.text.ParseException;
import java.util.Date;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.ResourceBundle;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.core.format.DateFormatter;
import org.eclipse.birt.core.i18n.ResourceConstants;
import org.eclipse.birt.core.i18n.ResourceHandle;
import org.eclipse.birt.core.script.JavascriptEvalUtil;
import com.ibm.icu.text.DateFormat;