Consultor Eletrônico



Kbase P126983: Java Open Client causes decimal fields to become corrupt when the fields contain value small values
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/19/2007
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0x
OpenEdge 10.1A
OpenEdge 10.1B

SYMPTOM(s):

Java Open Client based application passes temp-table to AppServer

Java application is running under Java 1.5

Decimal fields in temp-table have very small values (ranging from .0000000001 through .0000009999)

The decimal fields become corrupt when stored in the database on the AppServer side

The decimal fields will have a value of "15=10"

CAUSE:

Bug# OE00154230

CAUSE:

Prior to Java 1.5 the java.math.BigDecimal class would return the plain decimal string value from the toString method. Starting in Java 1.5 the value returned from the toString method would sometimes be in scientific notation format.

FIX:

Upgrade to OpenEdge 10.1B03