probably this is a real beginner question, but i cannot find an answer on the web. I have a Oracle db, with a table whose primary key is a NUMBER(16) and is filled with a sequence, whose max value is 999999999999999999999999999 .
what java type should i use to hold the sequence value ? long, biginteger or bigdecimal?
thank you in advance
Long should do as it has a maximum value of 2^63 - 1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With