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
else if ( source instanceof Number )
		{
			 
			
			int intValue = ( (Number) source ).intValue( );
			return new Integer( intValue );
		}
		else if ( source instanceof Boolean )
		{
			if ( true == ( (Boolean) source ).booleanValue( ) )
				return new Integer( 1 );
			return new Integer( 0 );
		}
		else if ( source instanceof Date )
		{
			long longValue = ( (Date) source ).getTime( );
			return new Integer( (int) longValue );
		}
		else if ( source instanceof String )
		{
			try
			{
				return new Integer( Double.valueOf( (String) source )
						.intValue( ) );
			}
			catch ( NumberFormatException e )
			{
				throw new BirtException( pluginId,
						ResourceConstants.CONVERT_FAILS,
						new Object[]{