org.hibernate.AnnotationException: No identifier specified for entity
报这个异常的原因是因为实体bean的主键没有注解映射关系
@Id @GeneratedValue(strategy=GenerationType.IDENTITY) @Column(name="ID", unique=true, nullable=false, insertable=true, updatable=false, precision=20, scale=0)