ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <girish.kor...@wipro.com>
Subject iBATIS : Exponential value issue
Date Sat, 20 Sep 2008 04:37:53 GMT
We have an issue when we store expontential value in oracle database using iBATIS. When we
store a value of 0E-16(which could be 0.0000000000030000) using iBATIS it is stored as 16
in database instead of 0(zero). When we store the same value using sql insert directly it
is storing the value correctly(zero).
Precision of big decimal in application is 16.
Precision in database for this column is 8(column type is number 22,8).
JDBC mapping for this column in iBATIS SQL MAP is DECIMAL.
iBATIS version : 2.3
Oracle 10G
Please advise on what could be the possible issue and solution. 
Thank you in advance.

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email. 


View raw message