Bug 142800 TVT3.2:TCT576: AR: BIRT: New Data Set Wizard
OS: Windows XP. Must Fix: YES. Blocking: No. Build Date: 0518 Component: BIRT - New Data Set Wizard. Language: AR Tester Name: Omar Bahy Scenario: 1- Right click on data set and choose "New Data Set". Click Finish 2- Inspect the SQL statement box. Problem: SQL statement box should be unmirrored to maintain readability. This article was reassigned from Category:''TVT/Testing''.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
IParameterMetaData md ) throws OdaException
	{
		DataSetParameters parameters = dataSetDesign.getParameters( );
		DataSetParameters dataSetParameter = DesignSessionUtil.toDataSetParametersDesign( md,
				ParameterMode.IN_LITERAL );
		if ( parameters == null
				|| parameters.getParameterDefinitions( ).size( ) == 0 )
		{
			if ( dataSetParameter != null )
			{
				Iterator iter = dataSetParameter.getParameterDefinitions( )
						.iterator( );
				while ( iter.hasNext( ) )
				{
					ParameterDefinition defn = (ParameterDefinition) iter.next( );
					proccessParamDefn( defn, dataSetParameter );
				}
			}
			dataSetDesign.setParameters( dataSetParameter );
		}
		else
		{
			int designParamSize = 0;
			if ( dataSetParameter != null )
				designParamSize = dataSetParameter.getParameterDefinitions( )
						.size( );
			int dataParamSize = parameters.getParameterDefinitions( ).size( );
			while ( designParamSize > dataParamSize )
			{
				ParameterDefinition defn = (ParameterDefinition) dataSetParameter.getParameterDefinitions( )