AnnotationException: No identifier specified for entity

March 20th, 2009

Applies to:
Hibernate

Description:
Annotation related exception.

Cause:
You have not set @Id annotation.

admin JAVA-Hibernate

  1. admin
    March 20th, 2009 at 10:28 | #1

    Set @Id in one of your property or field. Placing it on a field or a method will define the access type strategy

  1. No trackbacks yet.