Bug 200133 Chart can not share the column binding from table item[00]
Description: Chart can not share the column binding from table item[00] Step: 1. New a datasource and dataset 2. New a table named table1 and binding the dataset 3. New a chart and binding the sharing result set on table1 Actual result: The data columns have been not share on the chart Exceptioon result: The data column binding will share on the chart
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ReportDataServiceProvider.java
int rowCount, boolean isStringType ) throws ChartException
	{
		ArrayList dataList = new ArrayList( );
		
		
		ClassLoader oldContextLoader = Thread.currentThread( )
				.getContextClassLoader( );
		ClassLoader parentLoader = oldContextLoader;
		if ( parentLoader == null )
			parentLoader = this.getClass( ).getClassLoader( );
		ClassLoader newContextLoader = getCustomScriptClassLoader( parentLoader );
		Thread.currentThread( ).setContextClassLoader( newContextLoader );
		try
		{
			QueryDefinition queryDefn = new QueryDefinition( );
		    int maxRow = getMaxRow( );
			queryDefn.setMaxRows( maxRow );
			queryDefn.setDataSetName( getDataSetFromHandle( ).getQualifiedName( ) );
			
			DataSessionContext dsc = new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION,
					getReportDesignHandle( ) );
			dsc.setCacheOption( DataSessionContext.CACHE_USE_ALWAYS, maxRow );
			
			DataRequestSession session = DataRequestSession.newSession( dsc );
			for ( int i = 0; i < columnExpression.length; i++ )
			{
				queryDefn.addResultSetExpression( columnExpression[i],
						new ScriptExpression( columnExpression[i] ) );
			}