Bug 135490 Error occurs when Preview Results of Inner Join datasets
Description: Create a sample datasource and dataset, and then create a Joint dataset. Error occurs when preview results in the data set dialog. Steps to reproduce: 1.Create a sample datasource, and a dataset with sql statement "select * from CLASSICMODELS.CUSTOMERS". 2.Create a Joint dataset, the left and right dataset is the same. 3.Preview result in the dataset dialog, error pops up continuely.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/jointdataset/JoinConditionMatcher.java
for( int i = 0; i < left.length; i++)	
		{
			Object leftValue = left[i].getColumnValue( ); 
			Object rightValue = right[i].getColumnValue( );
			if( JointDataSetUtil.compare( leftValue, rightValue )!= 0)
				return false;
		}
		return true;
	}
	
	/*
	 * (non-Javadoc)
	 * @see org.eclipse.birt.data.engine.impl.jointdataset.IJoinConditionMatcher#getCompareValue(boolean)
	 */
	public Object[] getCompareValue( boolean isLeft ) throws DataException
	{
		JoinConditionMatchUnit[] array = null;
		if ( isLeft )
			array = left;
		else
			array = right;
		Object[] result = new Object[array.length];
		for ( int i = 0; i < result.length; i++ )
		{
			result[i] = array[i].getColumnValue( );
		}
		return result;
	}
}