Bug 176140 Exception is thrown out when preview the data set [07]
Description: Exception is thrown out when preview the data set Build number: 2.2.0.v20070302-1053 Steps to reproduce: 1. New a sample data source. 2. New a data set, click Preview Results. 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/Statement.java
catch ( SQLException e )
		{
			throw new JDBCException( ResourceConstants.PREPARESTATEMENT_CANNOT_SET_DUBLE_VALUE,
					e );
		}
		catch ( RuntimeException e1 )
		{
			rethrowRunTimeException( e1, ERRMSG_SET_PARAMETER + parameterId );
		}
	}
	/*
	 * @see org.eclipse.datatools.connectivity.IQuery#setBigDecimal(java.lang.String,
	 *      java.math.BigDecimal)
	 */
	public void setBigDecimal( String parameterName, BigDecimal value )
			throws OdaException
	{
		
		UnsupportedOperationException e = new UnsupportedOperationException( "No named Parameter supported." );
		logger.logp( java.util.logging.Level.FINE,
				Statement.class.getName( ),
				"setBigDecimal",
				"No named Parameter supported.",
				e );
		throw e;
	}
	/*
	 * @see org.eclipse.datatools.connectivity.IQuery#setBigDecimal(int,
	 *      java.math.BigDecimal)
	 */