Oracle Integer和Java Integer 数据的取值范围。

1:开发项目时,遇到一个查询问题。java.sql.SQLException: 数字溢出



 

2:根据异常信息,POJO类,属性类型是Integer(最大值27亿多),Oracle数据库类型是Integer,但是数值是100亿。

3:当时对项目经理的基础知识....

猜你喜欢

转载自nanjiwubing123.iteye.com/blog/2253289