Just tried, seems to be the same issue as there:

https://community.oracle.com/thread/3677876

The code giving the 0.-127 is

int decimalDig =rs.getInt <http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b27/java/sql/ResultSet.java#ResultSet.getInt%28java.lang.String%29>("DECIMAL_DIGITS");

...

colSize = Double.parseDouble <http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b27/java/lang/Double.java#Double.parseDouble%28java.lang.String%29>(String.valueOf <http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b27/java/lang/String.java#String.valueOf%28int%29>(intSize)+'.'+decimalDig);


With DECIMAL_DIGITS giving -127, it can return 0.-127, thus the exception.
The link gives an answer (-Doracle.jdbc.J2EE13Compliant=true), but is left unanswered past that.

//Alain

On 24/08/2015 09:55, Francis De Brabandere wrote:
http://stackoverflow.com/questions/32135225/empire-db-code-gen-double-parse-failure-in-reading-0-127-from-table-meta-data

Cheers,
F


Reply via email to