Bug 179938 [Automation][Regression] Exception is thrown out when preview the data set with parameter [0705]
Description: Exception is thrown out when preview the data set with parameter. Build number: 2.2.0.v20070329-1055 Steps to reproduce: 1. New a data source and a data set with a parameter and binding the parameter to a report parameter. 2. Preview Results. Expected result: No exception is thrown out. Actual result: Exception is thrown out. Error log: A BIRT exception occurred. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Data Engine Plug-in ID:org.eclipse.birt.data Version:2.2.0.v20070329-1055 Error Code:odaconsumer.CannotExecuteStatement Error Message:Cannot execute the statement. SQL statement does not return a ResultSet object. SQL error #1: At least one parameter to the current statement is uninitialized.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/internal/adapter/DataAdapterUtil.java
.equals( DesignChoiceConstants.SEARCH_TYPE_NONE );
			dteColumn.setSearchHint( searchHint );
		}
	}
	
	/**
	 * Find the DtE columnDefn from the given list of columnDefns that matches
	 * the given columnName.
	 */
	private static ColumnDefinition findColumnDefn( List columnDefns, String columnName )
	{
		assert columnName != null;
		if ( columnDefns == null )
			return null; 
		Iterator iter = columnDefns.iterator( );
		if ( iter == null )
			return null;
		
		
		while ( iter.hasNext( ) )
		{
			ColumnDefinition column = ( ColumnDefinition ) iter.next( );
			if ( columnName.equals( column.getColumnName( ) ) )
				return column;
		}
		return null;
	}
	/**
	 * Gets the data handle's static ROM extension properties name and value
	 * pairs in String values and returns them in a Map