SQL state ; error code ; Numeric Overflow; nested exception is java.sql.SQLException: Numeric Overflow
java.sql.SQLException: Numeric Overflow
This is just a guess, but it looks like you're trying to fetch a value from a ResultSet which doesn't fit into the chosen type in Java. Oracle can store numbers with up to 38 digits (disregarding the scale for now), which far exceeds even the range of Java's long datatype. Inspect the values you're trying to select from Oracle to see whether they don't contain some really large values.
You might try to fetch the number as double instead. If you need to keep the precision, another option might be to select the number as a text (using Oracle's to_char function) and creating a BigInteger or BigDecimal from its textual representation.
Have you no shame? Have you no decency? Have you no tiny ad?