您的位置:首页 > 其它

Could not determine type for: com.zyc.oa.model.Organization, at table

2012-02-25 14:44 519 查看
错误代码:

  Could not determine type for: com.zyc.oa.model.Organization, at table: t_organization, for

columns: [org.hibernate.mapping.Column(parent)]

原因:不能确定实体类Organization某个字段的类型,即使用Annatation事,要么都写在成员属性上,要么都写在get()方法上,不能混用

解决:使用的注释要保持一致。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  table
相关文章推荐