modifytim专题

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了