错误代码:
Could not determine type for: com.zyc.oa.model.Organization, at table: t_organization, for
columns: [org.hibernate.mapping.Column(parent)]
原因:不能确定实体类Organization某个字段的类型,即使用Annatation事,要么都写在成员属性上,要么都写在get()方法上,不能混用
解决:使用的注释要保持一致。
错误代码:
Could not determine type for: com.zyc.oa.model.Organization, at table: t_organization, for
columns: [org.hibernate.mapping.Column(parent)]
原因:不能确定实体类Organization某个字段的类型,即使用Annatation事,要么都写在成员属性上,要么都写在get()方法上,不能混用
解决:使用的注释要保持一致。