Bug 152298 org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731
org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731. Please see the attachment for details.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
return null;
		if ( source instanceof BigDecimal )
		{
			return (BigDecimal) source;
		}
		else if ( source instanceof Number )
		{
			 
			
			
			
			String str = ( (Number) source ).toString( );
			try
			{
				return new BigDecimal( str );
			}
			catch ( NumberFormatException e )
			{
				throw new BirtException( pluginId,
						ResourceConstants.CONVERT_FAILS,
						new Object[]{
								str, "BigDecimal"
						},
						resourceBundle );
			}
		}
		else if ( source instanceof Boolean )
		{
			if ( true == ( (Boolean) source ).booleanValue( ) )
				return new BigDecimal( 1d );