Fixed attribute defined in a Mapper Task sometimes loses its precisions in TIBCO IntegrationManager (IM) 5.0.2.

Fixed attribute defined in a Mapper Task sometimes loses its precisions in TIBCO IntegrationManager (IM) 5.0.2.

book

Article ID: KB0093267

calendar_today

Updated On:

Products Versions
TIBCO IntegrationManager -
Not Applicable -

Description

Resolution:
Description:
============
1). While using Mapper Task, if we assign one fixed attribute with more than 20 digits to another fixed attribute, then it loses precision by changing the BigDecimal value to a primitive datatype “double”.

2). If the number is assigned to a fixed attribute in a mapper task without enclosing it in double quotes, then it loses precision.

Environment:
============
IM 5.0.2 HF-11 and all OS platforms.

Symptoms:
===========
1). If we define the schema source Class Edit Dialog attribute as fixed.27.2 then instead of giving the value as 123456789012345678901234.56 it gives the value as 1.234567890123456789E23

2). If we define the value of the target in MapperTask Edit Dialog without enclosing it in double quotes, then it loses precision.

Cause:
======
The value is being changed to exponential form. This is a known Java issue.

Resolutions:
=============
1). This is now fixed. The following property needs to be set to  true  for this fix to take effect:
    Config.FESI.doNotCovertBigNumberToDouble :true

2). In order to retain the format, the assigned value must be enclosed in double quotes.

Issue/Introduction

Fixed attribute defined in a Mapper Task sometimes loses its precisions in TIBCO IntegrationManager (IM) 5.0.2.