Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

db2 decimal - java bigdecimal

843854Oct 17 2001 — edited Oct 19 2001
Hi,
how can I get DB2 Decimal values into Java BigDecimal values. ResultSet offers a getBigDecimal method, but where can I put the value ? Creating a new BigDecimal is not possible, only String, BigInteger, double. getDouble causes rounding problems.

Andreas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2001
Added on Oct 17 2001
5 comments
585 views