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
*            the cached input element attributes
	 * @param reportParam
	 *            the report parameter
	 * @throws SemanticException
	 */
	private void updateInputElementAttrsToReportParam(
			InputElementAttributes elementAttrs,
			InputElementAttributes cachedElementAttrs,
			ScalarParameterHandle reportParam ) throws SemanticException
	{
		if ( elementAttrs == null )
			return;
		
		String defaultValue = elementAttrs.getDefaultScalarValue( );
		String cachedDefaultValue = cachedElementAttrs == null
				? null
				: cachedElementAttrs.getDefaultScalarValue( );
		if ( cachedDefaultValue == null
				|| !cachedDefaultValue.equals( defaultValue ) )
		{
			
			if ( !DataSetParameterAdapter.BIRT_JS_EXPR.equals( defaultValue ) )
				reportParam.setDefaultValue( defaultValue );
		}
		
		Boolean isOptional = Boolean.valueOf( elementAttrs.isOptional( ) );
		Boolean cachedIsOptional = cachedElementAttrs == null ? null : Boolean
				.valueOf( cachedElementAttrs.isOptional( ) );
		if ( cachedIsOptional == null || !cachedIsOptional.equals( isOptional ) )
			reportParam.setAllowBlank( isOptional.booleanValue( ) );