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
{
				nextDelimiterValid = !nextDelimiterValid;
			}
			if ( nextDelimiterValid )
			{
				if ( '?' == this.parameterDefnChars[i] )
				{
					return true;
				}
			}
		}
		return false;
	}
	/**
	 * get non-default parameters position is sql text
	 * @return
	 */
	public int[] getParameterPositions( )
	{
		int nextPosition = 1;
		List result = new ArrayList( );
		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] )
			{
				nextDelimiterValid = !nextDelimiterValid;
			}