AnnotationExceptionNo identifier specified for entity错误org.hibernate.AnnotationException: No identifier specified for entityorg.hibernate.AnnotationException: No identifier specified for entity.
报这个异常的原因是因为JavaBean的主键没有注解映射关系 ,加上对应的主键注解就可以了
错误org.hibernate.AnnotationException: No identifier specified for entity
猜你喜欢
转载自aniyo.iteye.com/blog/1607879
今日推荐
周排行