Bug 410905 ISODate to DateTime
data/org.eclipse.birt.data.oda.mongodb/src/org/eclipse/birt/data/oda/mongodb/impl/MDbResultSet.java
if( valuesList.size() == 0 )
            return null;
        Object firstValue = null;
        if( valuesList instanceof BasicDBList )
            firstValue = ((BasicDBList)valuesList).get(String.valueOf(0));
        else
            firstValue = valuesList.get(0);
        
        logFetchedFirstElementFromArray( columnName, valuesList.size() );
        return firstValue;
    }
    private static Object tryConvertToDataType( Object value, Class<?> valueDataType ) throws OdaException
    {
        if( value == null || valueDataType.isInstance( value ) ) 
            return value;
        
        if( value instanceof String )
        {
            String stringValue = (String)value;
            try
            {
                if( valueDataType == Integer.class )
                    return Integer.valueOf( stringValue );
                if( valueDataType == Double.class )
                    return Double.valueOf( stringValue );
                if( valueDataType == BigDecimal.class )
                    return new BigDecimal( stringValue );
                if( valueDataType == Boolean.class ) 
                    return Boolean.valueOf( stringValue );
                if( valueDataType == Date.class )