Bug 208718 Exception is thrown out when exported data with column's data type [0002]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractQueryExportActionHandler.java
resultSets.setResultSet( resultSetArray );
		handleUpdate( resultSets );
	}
	/**
	 * Prepare returned result set.
	 * 
	 * @param exportedResultSets
	 * @return ResultSet[]
	 */
	private ResultSet[] getResultSetArray( List exportedResultSets )
	{
		assert exportedResultSets != null;
		ResultSet[] rsArray = new ResultSet[exportedResultSets.size( )];
		for ( int i = 0; i < exportedResultSets.size( ); i++ )
		{
			ExportedResultSet rs = (ExportedResultSet) exportedResultSets
					.get( i );
			List columns = rs.getColumns( );
			Column[] colArray = new Column[columns.size( )];
			for ( int j = 0; j < columns.size( ); j++ )
			{
				ExportedColumn col = (ExportedColumn) columns.get( j );
				colArray[j] = new Column( col.getName( ), col.getLabel( ),
						Boolean.valueOf( col.getVisibility( ) ) );
			}
			rsArray[i] = new ResultSet( rs.getQueryName( ), colArray );
		}
		return rsArray;
	}
}