Bug 146079 Backwar Compatibility
Reports created using version 2.01 does not work in 2.1 RC4. Chart doesnot get displayed when I try to preview the report. I am getting the following error. Failed to prepare the following query for the data set type org.eclipse.birt.report.data.oda.jdbc.SPSelectDataSet. [exec spProcedureName ?, ?, ?, ?, ?] Illegal SP Call Database Used: Sybase
data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/SPParameterPositionUtil.java
if ( nextDelimiterValid )
			{
				if ( '?' == this.parameterDefnChars[i] )
				{
					result.add( new Integer( nextPosition ) );
				}
				if ( ',' == this.parameterDefnChars[i] )
				{
					nextPosition++;
				}
			}
		}
		int[] rt = new int[result.size( )];
		for ( int i = 0; i < result.size( ); i++ )
		{
			rt[i] = new Integer( result.get( i ).toString( ) ).intValue( );
		}
		return rt;
	}
	/**
	 * put sqlText to char array
	 * @param sqlTxt
	 * @param escaper
	 * @return
	 * @throws OdaException
	 */
	private char[] getParameterDefinitionChars( String sqlTxt, char escaper )
			throws OdaException
	{
		char[] temp = sqlTxt.toCharArray( );