映射文件報錯
Caused by: org.hibernate.MappingException: Could not determine type for: java.lang.Interger, at table: grade, for columns: [org.hibernate.mapping.Column(sid)]
請問這是什么問題?數據庫表沒有問題,圖片是Grade.hbm.xml
Caused by: org.hibernate.MappingException: Could not determine type for: java.lang.Interger, at table: grade, for columns: [org.hibernate.mapping.Column(sid)]
請問這是什么問題?數據庫表沒有問題,圖片是Grade.hbm.xml
2017-04-20
舉報
2017-04-20
是不是grade和student的映射文件所配的gid 的 type屬性不一致啊? 俺也是新手 ?-.-