Bug 187775 Dataset parameter binding is lost after adding new column to query
Build ID: I20070323-1616 Steps To Reproduce: 1. Create new report with query "select customername from customers where customer like ?" and create a database parameter. 2. Create report parameter. 3. Bind database parameter to report parameter. 4. Run report. Ok. 5. Add new column "customernumber" to select clause of query. 6. Check dataset parameter binding: database parameter has no binding anymore. BIRT 2.2M6
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/impl/DataSetParameterAdapter.java
PropertyValueException.DESIGN_EXCEPTION_VALUE_EXISTS );
		}
	}
	/**
	 * Returns the matched parameter definition by given name and position.
	 * 
	 * @param params
	 *            the ODA data set parameters
	 * @param paramName
	 *            the parameter name
	 * @param position
	 *            the position of the parameter
	 * @return the matched parameter definition
	 */
	static ParameterDefinition findParameterDefinition(
			DataSetParameters params, String paramName, Integer position )
	{
		if ( params == null )
			return null;
		if ( StringUtil.isBlank( paramName ) && position == null )
			return null;
		EList odaParams = params.getParameterDefinitions( );
		if ( odaParams == null || odaParams.isEmpty( ) )
			return null;
		for ( int i = 0; i < odaParams.size( ); i++ )
		{
			ParameterDefinition odaParamDefn = (ParameterDefinition) odaParams
					.get( i );
			DataElementAttributes dataAttrs = odaParamDefn.getAttributes( );
			if ( dataAttrs == null )