My Oracle Support Banner

Known Problems Using BigDecimal in JDBC 10.2 with JDK 1.5 (Doc ID 421008.1)

Last updated on MARCH 10, 2019

Applies to:

JDBC - Version 10.2.0 to 10.2.0.5
Information in this document applies to any platform.
Information in this document applies to any platform.
JDK 1.5


Purpose

The purpose of this note is to summarize the problems that exists when using BigDecimal in JDBC 10.2 in conjunction with JDK 1.5.

It also provides know workarounds and fixes for the problems.

Scope

Before reading this document, the user must have a good understanding of JDBC.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Scope
Details
 The Constructor oracle.sql.NUMBER(BigDecimal) does not work Correctly if the BigDecimal is Constructed from a String
 Using setBigDecimal() for Small Negative Values Corrupts Inserted Data
 Inserting BigDecimal with MathContext Inserts Wrong Value
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.