标签: java oracle jpa oracle10g
Oracle(10 Express Edition)中的哪种类型与Java int“相同”?
答案 0 :(得分:19)
Java的int的范围是-2,147,483,648到2,147,483,647 - 所以Number(10,0)就像你要得到的那样接近......
答案 1 :(得分:5)
我会说number(10,0)。
number(10,0)
答案 2 :(得分:1)
尝试NUMBER。在Oracle中,我们使用Number for Integer