Bug 161009 Dataset-Parameter-Settings deleted on SQL changes
Once the SQL is changed in Dataset Editor, all parameters and their bindings are thrown away (at least not shown any more)
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLUtility.java
java.util.Properties prop = new java.util.Properties( );
			DataSourceDesign dataSourceDesign = design.getDataSourceDesign( );
			if ( dataSourceDesign != null )
			{
				prop.put( Constants.ODADriverClass,
						dataSourceDesign.getPublicProperties( )
								.getProperty( Constants.ODADriverClass ) == null
								? "" : dataSourceDesign.getPublicProperties( )
										.getProperty( Constants.ODADriverClass ) );
				prop.put( Constants.ODAURL,
						dataSourceDesign.getPublicProperties( )
								.getProperty( Constants.ODAURL ) == null ? ""
								: dataSourceDesign.getPublicProperties( )
										.getProperty( Constants.ODAURL ) );
				prop.put( Constants.ODAUser,
						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( ) );
			setParameterMetaData( design, query );