Integer 类型为对象,它的值允许为 null,而 int 属于基础数据类型,值不能为 null。 Was this helpful? YesNo 0 / 0 上一篇: hibernate 是如何工作的? 下一篇: hibernate 实体类可以被定义为 final 吗? 发表回复 取消回复0 Your email address will not be published. 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。