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
propHandle.clearValue( );
		for ( int i = 0; i < retList.size( ); i++ )
		{
			propHandle.addItem( retList.get( i ) );
		}
	}
	/**
	 * Updates values in DynamicValuesQuery to the given report parameter.
	 * 
	 * @param dataAttrs
	 *            the latest dynamic values
	 * @param cachedDataAttrs
	 *            the cached dynamic values
	 * @param reportParam
	 *            the report parameter
	 * @throws SemanticException
	 */
	private void updateROMDyanmicList( DynamicValuesQuery valueQuery,
			DynamicValuesQuery cachedValueQuery,
			ScalarParameterHandle reportParam ) throws SemanticException
	{
		if ( valueQuery == null )
			return;
		String value = valueQuery.getDataSetDesign( ).getName( );
		String cachedValue = cachedValueQuery == null ? null : cachedValueQuery
				.getDataSetDesign( ).getName( );
		if ( cachedValue == null || !cachedValue.equals( value ) )
			reportParam.setDataSetName( value );
		value = valueQuery.getValueColumn( );
		cachedValue = cachedValueQuery == null ? null : cachedValueQuery