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
{
	private char[] parameterDefnChars;
	private char escaper;
	/**
	 * 
	 * @param sqlTxt
	 * @param escaper
	 * @throws OdaException
	 */
	public SPParameterPositionUtil( String sqlTxt, char escaper )
			throws OdaException
	{
		this.escaper = escaper;
		this.parameterDefnChars = getParameterDefinitionChars( sqlTxt, escaper );
	};
	/**
	 * exsit non-default parameter or not
	 * @return
	 */
	public boolean hasNonDefaultParameter( )
	{
		boolean nextDelimiterValid = true;
		for ( int i = 0; i < this.parameterDefnChars.length; i++ )
		{
			if ( i > 0 && this.parameterDefnChars[i - 1] == escaper )
				continue;
			if ( '"' == this.parameterDefnChars[i] )