Mapping arithmetic operators: ArithOpMapper element
The ArithOpMapper element is used for customizing the mappings of the arithmetic operators listed in Table 11-5. The table also shows the default template for each operator.
Arithmetic operator
Default template
<INTEGER>, <INTEGER>
<DOUBLE>, <DOUBLE>
<DECIMAL>, <DECIMAL>
<INTEGER>, <INTEGER>
<DOUBLE>, <DOUBLE>
<DECIMAL>, <DECIMAL>
Generated by the Integration service
Example: Mapping the negation operator
You change the mapping of the negation operator because your database uses a different syntax. You use NEG as the FunctionName:
<ArithOpMapper>
  <FunctionMappings>
    <FunctionMapping FunctionName="NEG">
      NEGATE ($P0)
    </FunctionMapping>
  </FunctionMappings>
</ArithOpMapper>

Additional Links:

Copyright Actuate Corporation 2012