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()方法上,不能混用
解决:使用的注释要保持一致。
Could not determine type for: com.zyc.oa.model.Organization, at table: t_organization, for
columns: [org.hibernate.mapping.Column(parent)]
原因:不能确定实体类Organization某个字段的类型,即使用Annatation事,要么都写在成员属性上,要么都写在get()方法上,不能混用
解决:使用的注释要保持一致。
相关文章推荐
- Caused by: org.hibernate.MappingException: Could not determine type for: com.bjsxt.model.Specialty, at table: Student, for columns: [org.hibernate.map
- Could not determine type for: model.Student, at table: Contact, for columns: [org.hibernate.mapping.
- Could not determine the class-path for interface com.android.builder.model.AndroidProject
- org.hibernate.MappingException: Could not determine type for: String, at table: Elec_SystemDDL, for
- Could not determine type for: java.util.String, at table:
- 解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- org.hibernate.MappingException: Could not determine type for: String, at table: Elec_Text, for colum
- Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- 解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- org.hibernate.MappingException: Could not determine type for: Integer, at table: grade, for columns
- Could not determine the class-path for interface com.android.builder.model.NativeAndroidProjec
- Caused by: org.hibernate.MappingException: Could not determine type for: java.util.List, at table:
- Error:Could not determine the class-path for interface com.android.builder.model.NativeAndroidProjec
- Could not determine type for: java.util.List, at table 项目启动报这种错误的解决方案(JPA)
- Could not determine type for: String, at table
- hibernate 实体类注解错误:Could not determine type for: com.xxx.entity.Site
- Could not determine type for: java.util.Boolean, at table:出错的处理
- Hibeinate: Could not determine type for: java.util.List, at table: address_inf, for columns: [org.hi
- Could not determine type for: java.util.List, at table 项目启动报错
- Could not determine type for: java.util.Collection, at table: 解决