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/SQLUtility.java
{
			for ( int i = 0; i < lines.length; i++ )
			{
				result = result
						+ lines[i] + ( i == lines.length - 1 ? " " : " \n" );
			}
		}
		return result;
	}
	
	
	/**
	 * Return pre-defined query text pattern with every element in a cell in an
	 * Array
	 * 
	 * @return pre-defined query text in an Array
	 */
	public static String[] getQueryPresetTextArray( String extensionId )
	{
		final String[] lines;
		if ( extensionId.equals( "org.eclipse.birt.report.data.oda.jdbc.SPSelectDataSet" ) )
			lines = new String[]{
				"{call procedure-name(arg1,arg2, ...)}"
			};
		else
			lines = new String[]{
					"select", "from"
			};
		return lines;
	}