读书人

温馨揭示

发布时间: 2012-07-30 16:19:05 作者: rapoo

温馨提示
1、 在hibernate中,用Annotation时一定要写到get的方法上,这次我写错了,写在set的方法是,出现了

org.hibernate.MappingException: Could not determine type for: com.xiaozhi.model.ClothsInfo, at table: t_gooddesc, for columns: [org.hibernate.mapping.Column(clothsInfo)]
这样子的错误..

读书人网 >软件架构设计

热点推荐