摘要: 主键问题 使用hibernate的e-r映射pojo类的时候遇到org.hibernate.AnnotationException: No identifier specified for entity异常。可是entity类的注释没有问题,唯一的不正常的地方是这张表比较特殊没有主键,好像在使用hi 阅读全文
posted @ 2016-05-10 17:57 空心柳 阅读(2247) 评论(0) 推荐(0)