You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Statement stmt = conn.createStatement();
ResultSet rset;
stmt.executeQuery("create table temp13(z1 FLOAT(100), z3 number(38,30))");
stmt.executeQuery("insert into temp13(z1,z3) values(42893.17904199423910638, 249.13865675685786780277)");
rset = stmt.executeQuery("select * from temp13");
while (rset.next())
{
System.out.println(rset.getBigDecimal(1,17));
System.out.println(rset.getBigDecimal(2,20));
}
I did got following output (expected)
42893.17904199423910638
249.13865675685786780277
Configuration over which this test was conducted
JDBC driver version = 11.2.0.2.0
>java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b15, mixed mode)
Issue is JDBC.jl is retrieving all the floating point columns as Float32, this is resulting in values being truncated while retrieving.
Following steps can be used to reproduce this issue
Data is being inserted correctly because when you retreive these columns as a String, expected values show up
_Configuration_
This issue was reproduced on following configurations
DBMS = Oracle Database 11g Express Edition
Julia version 0.4.2
JDBC.jl was upto-date with the master
DBMS = Oracle Database 11g Express Edition
Julia version 0.4.1
JDBC.jl was upto-date with the master
The text was updated successfully, but these errors were encountered: