hibernate exception: org.hibernate.AnnotationException: No identifier specified for entity:

来源:互联网 发布:php截取html字符串 编辑:程序博客网 时间:2024/06/01 17:42

因为指明主键id 在getId方法上加上

@Id的注解


0 0
原创粉丝点击