本文主要是介绍Null value was assigned to a property of primitive type setter of com.ibeifeng.po.Employee.modifyTim,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Null value was assigned to a property of primitive type setter of com.ibeifeng.po.Employee.modifyTime;
因为数据库modifytime 是bigint 类型; 应该是基本类型吧; 我的modifytime 是 可以为空的; 但是基本数据类型好像必须有个默认值; 所以都赋值初始值0 就ok了;
这篇关于Null value was assigned to a property of primitive type setter of com.ibeifeng.po.Employee.modifyTim的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!