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
return DataType.STRING_TYPE;
		else if ( BigDecimal.class.isAssignableFrom( clazz ) )
			return DataType.DECIMAL_TYPE;
		else if ( clazz == java.sql.Date.class )
			return DataType.SQL_DATE_TYPE;
		else if ( clazz == java.sql.Time.class )
			return DataType.SQL_TIME_TYPE;
		else if ( Date.class.isAssignableFrom( clazz ) )
			return DataType.DATE_TYPE;
		else if ( byte[].class.isAssignableFrom( clazz ) )
			return DataType.BINARY_TYPE;
		else if ( Clob.class.isAssignableFrom( clazz )
				|| clazz.getName( )
						.equals( "org.eclipse.datatools.connectivity.oda.IClob" ) )
			return DataType.STRING_TYPE;
		else if ( Blob.class.isAssignableFrom( clazz )
				|| clazz.getName( )
						.equals( "org.eclipse.datatools.connectivity.oda.IBlob" ) )
			return DataType.BLOB_TYPE;
		else if ( clazz == Boolean.class )
			return DataType.BOOLEAN_TYPE;
		
		return DataType.UNKNOWN_TYPE;
	}
	/**
	 * Converts an ODA data type code to its 
	 * corresponding Data Engine API data type constant
	 * defined in DataType.
	 * @param odaDataTypeCode   an ODA data type code
	 * @throws BirtException if the specified ODA data type code