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
/**
	 * Updates allowNull property for the given data set parameter definition.
	 * 
	 * @param romParamDefn
	 *            the data set parameter definition.
	 * @param nullability
	 *            the ODA object indicates nullability.
	 * @return <code>true</code> if is nullable. <code>false</code> if not
	 *         nullable.
	 */
	static Boolean getROMNullability( ElementNullability nullability )
	{
		if ( nullability == null )
			return null;
		switch ( nullability.getValue( ) )
		{
			case ElementNullability.NULLABLE :
				return Boolean.TRUE;
			case ElementNullability.NOT_NULLABLE :
				return Boolean.FALSE;
			case ElementNullability.UNKNOWN :
				return null;
		}
		return null;
	}
	/**
	 * Refreshes property values of the given report parameter by the given data
	 * set design. This method first copies values from ROM data set parameter
	 * to report parameter, then copies values from DataSetDesign to the report
	 * parameter.