Bug 140705 Insert group does not work properly when cache preference is set
When cache preference is set, insert group does not work properly. Steps to reproduce problem: In Birt report designer: New a report design, data source, data set; Insert a table, drag several columns into table; Set cache preference for data set: check checkbox "Cache dataset data for report view"; Select "Cache and use first [] rows"; Enter '100' as row count. PREVIEW report; Insert group, Preview report again ---> problem happens: only header line will show up. All details are missing. Sample report is also attached.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java
{
		if ( cd == cd2 )
			return true;
		else if ( cd == null || cd2 == null )
			return false;
		return cd.getColumnPosition( ) == cd2.getColumnPosition( )
				&& cd.getDataType( ) == cd2.getDataType( )
				&& cd.getExportHint( ) == cd2.getExportHint( )
				&& cd.getSearchHint( ) == cd2.getSearchHint( )
				&& isEqualString( cd.getAlias( ), cd2.getAlias( ) )
				&& isEqualString( cd.getColumnName( ), cd2.getColumnName( ) );
	}
	/**
	 * compare joint condition
	 * @param joinConditions1
	 * @param joinConditions2
	 * @return
	 */
	private boolean isEqualJointCondition( List joinConditions1,
			List joinConditions2 )
	{
		if ( joinConditions1 == joinConditions2 )
			return true;
		int basicCol = isEqualBasicCol( joinConditions1, joinConditions2 );
		if ( basicCol == B_TRUE )
			return true;
		else if ( basicCol == B_FALSE )
			return false;
		Iterator it = joinConditions1.iterator( );
		Iterator it2 = joinConditions2.iterator( );