Oups, got the code generator source from grepcode (quick google actually), didn't expect it to break so much. Here is the human-readable answer:

---
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("DECIMAL_DIGITS");

...

colSize = Double.parseDouble(String.valueOf(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 11:11, Alain Becam wrote:
Unreadable stuff

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




--
----------------------------
      Alain Becam, PhD
IT Services, EMBL Heidelberg
 mailto:[email protected]
 Tel +49 (0) 6221 387 8593
----------------------------

Reply via email to