posted 21 years ago
Hi
During insertion of a row, I am having a problem with 2 fields: fieldA and fieldB,
both are type NUMBER and are set programmatically as double,
fieldA is programmatically set to 99.0 while fieldB is set to 1.0
both are being set to the same scientific no in the DB which changes upon each insertion , e.g 1E-29
Whats really wierd is fieldC which is also set programmatically to 99.0, is a double and a NUMBER in the DB is set fine.
fieldC precedes the other 2 in the SQL stmt.
The oracle trace output shows that the container has passed on the correct values to the driver.
I tried the explicit setting of the field type in jbosscmp-jdbc but it didn't help.
I can insert through TOAD successfully, it appears to be the driver but I'm using the latest one.
I am using Oracle 9i with driver ojdbc14.jar, JBoss3.0.6
Any help would be GREATLY appreciated!