Alex Rivera | Logout

What Java data type corresponds to the Oracle SQL data type NUMERIC?

Asked 2010-08-17T16:05:22.717
9

What Java data type does the Oracle JDBC driver assign to the Oracle SQL data type NUMERIC? Does this vary with the size of the NUMERIC type?

Edit
Report

1 Answer

1

It's been a while, but I believe it's BIGINT in Java.It's BigDecimal. I remember the classcastexception you'd encounter would give a hint...

answered 2010-08-17T16:06:54.410

Your Answer