在JPA(Hibernate)的字段mapping里面,一个数字既可以mapping成int也可以mapping成Integer.
这2种mapping有啥区别?包括性能上的区别。当然int遇到null的时候会报错,Integer就不会了。