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
dataSourceDesign.getPublicProperties( )
								.getProperty( Constants.ODAUser ) == null ? ""
								: dataSourceDesign.getPublicProperties( )
										.getProperty( Constants.ODAUser ) );
				prop.put( Constants.ODAPassword,
						dataSourceDesign.getPublicProperties( )
								.getProperty( Constants.ODAPassword ) == null
								? "" : dataSourceDesign.getPublicProperties( )
										.getProperty( Constants.ODAPassword ) );
			}
			conn.open( prop );
			IQuery query = conn.newQuery( design.getOdaExtensionDataSetId( ) );
			query.setMaxRows( 1 );
			query.prepare( design.getQueryText( ) );
			
			IParameterMetaData paramMetaData = query.getParameterMetaData( );
			mergeParameterMetaData( design, paramMetaData );
			query.executeQuery( );
			
			IResultSetMetaData metadata = query.getMetaData( );
			setResultSetMetaData( design, metadata );
		}
        catch( OdaException e )
        {
            
        	design.setResultSets( null );
        }
        finally
        {
            closeConnection( conn );