Bug 161669 Incomplete adaptation of an oda data set design's Dynamic Query
When adapting a dynamic query in an ODA DataSetDesign's input parameter definition (oda.design.DynamicValuesQuery.getDataSetDesign() ), ModelOdaAdapter stops at saving its referenced dataSet name, but does not actually create/update corresponding odaDataSetHandle in model. This leads to an error when attempting to use the referenced data set name.
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/ReportParameterAdapter.java
updateInputElementAttrs( tmpParamDefn1, reportParam, null );
		if ( tmpParamDefn1.getUiHints( ) != null )
		{
			tmpParamDefn1.setUiHints( null );
		}
		DynamicValuesQuery tmpDynamicQuery1 = tmpParamDefn1
				.getElementAttributes( ).getDynamicValueChoices( );
		String tmpDataSetName1 = null;
		if ( tmpDynamicQuery1 != null )
		{
			tmpDataSetName1 = tmpDynamicQuery1.getDataSetDesign( ).getName( );
			tmpDynamicQuery1.setDataSetDesign( null );
		}
		if ( !isEquals( tmpDataSetName, tmpDataSetName1 ) )
			return false;
		return EcoreUtil.equals( tmpParamDefn, tmpParamDefn1 );
	}
	static boolean isEquals( String value1, String value2 )
	{
		
		if ( value1 == value2 )
			return true;
		if ( value1 != null && value2 == null )
			return false;
		if ( value1 == null && value2 != null )
			return false;
		if ( !value1.equals( value2 ) )
			return false;
		return true;
	}