Bug 176146 [Smoke] Exception is thrown out when new a Stored Procedure data set [0703]
Description: Exception is thrown out when new a Stored Procedure data set. Build number: 2.2.0.v20070302-1452 Steps to reproduce: 1. New a SQL Server Data source. 2. New a data set, select "SQL Stored Procedure Query", enter "{call counterlnT1(?)}", click Finish. Expected result: No exception is thrown out. Actual result: Exception is thrown out. Error log: A BIRT exception occurred. Cannot set statement property. Unsupported query property: OdaConnProfileName Plug-in Provider:Eclipse.org Plug-in Name:BIRT Data Engine Plug-in ID:org.eclipse.birt.data Version:2.2.0.v20070302 Error Code:odaconsumer.CannotSetStatementProperty Error Message:Cannot set statement property. Unsupported query property: OdaConnProfileName
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/CallStatement.java
if ( parameterDefn != null )
		{
			for ( int i = 0; i < parameterDefn.getParameterCount( ); i++ )
			{
				if ( parameterDefn.getParameterMode( i ) == IParameterMetaData.parameterModeOut
						|| parameterDefn.getParameterMode( i ) == IParameterMetaData.parameterModeInOut )
				{
					registerOutParameter( i + 1, getParameterType( i ) );
				}
			}
		}
	}
	
	/*
	 * Added to deal with database-specific cases. for instance,
	 * Types.OTHER->REF CURSOR->Any(odi)->Types.CHAR(oda). In above scenarios,
	 * metaData will be fetched again to correct the parameterDataType in case
	 * they've been changed already. Note there would be some extra tradeoff
	 * even the paramDataType is recognizable to us as we just can't tell for
	 * sure on jdbc level
	 */
	private int getParameterType( int i ) throws OdaException
	{
		if ( parameterDefn.getParameterType( i ) != Types.CHAR )
			return parameterDefn.getParameterType( i );
		return ( (ParameterDefn) getCallableParamMetaData( ).get( i ) ).getParamType( );
	}
	
	/**
	 *