Bug 213959 [Regression]Blob computed column doesn't work
Description: [Regression]Blob type computed column doesn't work Build number: 2.3.0.v20071228-1005 Steps to reproduce: 1, New a sampleDB from table PRODUCTLINE 2, New a computed column A; type is Blob; expression is row["IMAGE"] 3, Preview in dataset Expected result: The dataset can be preview ok Actual result: Error happened Error log: A BIRT exception occurred. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Data Engine Plug-in ID:org.eclipse.birt.data Version:2.3.0.v20071228-1005 Error Code:data.engine.CompCol.FailRetrieveValueComputedColumn Error Message:Fail to compute value for computed column "AAA". Can not convert the value of [B@1a9efcd to Blob type.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
break;
            case Types.BOOLEAN :
                fieldClass = Boolean.class;
                break;
			case Types.NULL :
				fieldClass = null;
				break;
		}
		return fieldClass;
	}
	/**
	 * Converts an ODI type class to its corresponding 
	 * ODA data type code. <br>
	 * <b>ODI Type Class -> ODA Data Type</b><br>
	 * <i>java.lang.Integer -> Integer<br>
	 * java.lang.Double -> Double<br>
	 * java.lang.String -> Character<br>
	 * java.math.BigDecimal -> Decimal<br>
	 * java.util.Date -> Timestamp<br>
     * java.sql.Date -> Date<br>
	 * java.sql.Time -> Time<br>
	 * java.sql.Timestamp -> Timestamp<br>
	 * java.sql.Blob -> Blob<br>
	 * java.sql.Clob -> Clob<br>
     * java.lang.Boolean -> Boolean<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 )