hibernate保存枚举类型出错

异常:UnexpectedTypeException: HV000030: No validator could be found for type: mg.biz.bas.entity.ProtocolControl$Type. 原因:因为在创建实体对象的时候type字段为varchar类型会自动生成的是String类型,最后我们把type改成枚举 但是一开始我们生成的是String类型的成员,
相关文章
相关标签/搜索