摘要: 最近学习Hiberante Annotations时遇到了该问题org.hibernate.MappingException: Unknown entity在baidu和googl上搜寻了 很久也没有找到适合我的解决方法,最后发现是import Entity类造成的(使用Eclipse自动提示导入的该包)importjavax.persistence.Id;importjavax.persistence.Table;importjavax.persistence.Transient;importorg.hibernate.annotations.Entity;//这是就出问题了哦@Entity 阅读全文
posted @ 2012-05-14 15:11 Alamps 阅读(307) 评论(0) 推荐(0) 编辑