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
int odaType = Types.CHAR;   
        
        if( odiTypeClass == null )
            odaType = Types.CHAR;       
        else if( odiTypeClass == String.class )
            odaType = Types.CHAR;
        else if( odiTypeClass == Integer.class )
            odaType = Types.INTEGER;
        else if( odiTypeClass == Double.class )
            odaType = Types.DOUBLE;
        else if( odiTypeClass == BigDecimal.class )
            odaType = Types.DECIMAL;
        else if( odiTypeClass == Date.class )
            odaType = Types.DATE;
        else if( odiTypeClass == Time.class )
            odaType = Types.TIME;
        else if( odiTypeClass == Timestamp.class )
            odaType = Types.TIMESTAMP;
        else if( odiTypeClass == Blob.class )
            odaType = Types.BLOB;
        else if( odiTypeClass == Clob.class )
            odaType = Types.CLOB;
        return odaType;
    }
}
/**
 * 
 *
 */
class DateFormatHolder