Bug 211384 [Regression]Refresh issue of multiple parameters on Stored Procedure Dataset[07]
Description: [Regression]Refresh issue of multiple parameters on Stored Procedure Dataset[07] Build number: 2.3.0.v20071129-0800 Steps to reproduce: 1, New a stored procedure dataset and make sure the procedure including multiple input or output parameters 2, After specify the query, go to parameters page Expected result: After step2, all the required parameters listed in parameters page Actual result: Refresh the page all the paremeters listed
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
if ( item != null && item.length > 0 )
				availableDbObjectsTree.showItem( item[0] );
			
		}
		catch ( Exception e )
		{
			logger.log( Level.FINE, e.getMessage( ), e );
		}
	}
	/**
	 * @param dbtype
	 * @param procedureRs
	 * @return
	 */
	private boolean needToCreateProcedureNode( String dbtype,
			ArrayList procedureRs )
	{
		return procedureRs != null
				&& procedureRs.size( ) > 0
				&& ( DbType.ALL_STRING.equalsIgnoreCase( dbtype ) || DbType.PROCEDURE_STRING.equalsIgnoreCase( dbtype ) );
	}
	/**
	 * Connects the metadata provider to the specified data source
	 */
	protected Connection connectMetadataProvider( IMetaDataProvider metadata,
			DataSourceDesign dataSourceDesign )
	{
		return metadata.connect( dataSourceDesign );
	}