首页 > 代码库 > Null value was assigned to a property of primitive type setter of

Null value was assigned to a property of primitive type setter of

解决办法:

                bean里的int 类型替换成 Integer

               .hbm.xml  改为java.lang.Integer