hibernate框架int和Integer类型区别

时间:2023-01-27 03:16:26

hibernate 框架在定义实体时,int类型最好定义为Inttger类型,因为在注入时int是值类型不允许为空。

相关文章