Bug 145741 Could not set the value of Boolean parameter as 0 or 1
Description: Could not set the value of report scalar boolean parameter as 0 or 1. Steps to reproduce: 1.Create a report parameter, boolean type, Combo Box display type. 2.Add the value as 0, failed. Expect result: Could set integer value to boolean type parameter.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
/**
     * Converts an ODA data type code to its 
     * corresponding Data Engine API data type constant
     * defined in DataType.
     * @param odaDataTypeCode   an ODA data type code
     * @throws BirtException if the specified ODA data type code
     *                      is not a supported type
     */
    public static int toApiDataType( int odaDataTypeCode )
        throws BirtException
    {
        Class odiTypeClass = toOdiTypeClass( odaDataTypeCode );
        return toApiDataType( odiTypeClass );
    }
	
	/**
	 * Convert object to a suitable type from its value 
	 * Object -> Integer -> Double -> BigDecimal -> Date -> String
	 */
	public static Object toAutoValue( Object evaValue )
	{
		if ( evaValue == null )
			return null;
		Object value = null;
		if ( evaValue instanceof String )
		{
			
			String stringValue = (String) evaValue;
			value = toIntegerValue( evaValue );
			if ( value == null )